------- Comment #26 from sgk at troutmask dot apl dot washington dot edu 2008-02-02 16:38 ------- Subject: Re: Implied do-loop in an initialization expression is broken
On Sat, Feb 02, 2008 at 11:09:36AM -0000, dominiq at lps dot ens dot fr wrote: > > A short term solution could be to improve the error message when the 65535 > limit is reached: "Initialization expression didn't reduce" does not point > clearly to this limit. An error (if correct?) such that "Array constructors > cannot have more than 65535 elements" will give a better diagnostic of what's > going wrong. > 65535 was arbitrarily chosen by me. This value allowed the fmlib package to compile and run. 65535 should actually be spelled as 100 (or maybe even smaller). Short term solutions have the uncanny nature of becoming long term bandaids. See PR 19925 for an example. Erik suggested in comment #6 one possible solution to the problem. In the mailing list or IRC, Paul Brook suggested that a CTOR/DTOR methods should be considered. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19925