C PATCH: Don't generate initializers incrementally

Mark Mitchell mark@codesourcery.com
Fri Oct 27 18:15:00 GMT 2000


>>>>> "Richard" == Richard Henderson <rth@cygnus.com> writes:

    Richard> That is largely irrelevant.  It constitutes a regression
    Richard> in quality of implementation if we could not handle very
    Richard> large arrays anymore.

True 'nuff.  I meant to indicate only that there wasn't likely to be
too much code out there that did this -- it wouldn't work with almost
any other compiler.

Lots of compilers I've worked on store up the whole dang translation
unit in core and pass it from phase to phase.  That's natural, and
necessary if you intend to do inter-procedural optimizations, but does
impose more limits on the size of the programs you can compile.

    >> If problems come up that we think we need to solve, I promise
    >> to either restore the code, or implement some other code to
    >> solve the problem without penalizing the common case.

    Richard> Good enough.

Don't forget to remind me! :-)

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-patches mailing list