Compiler uses a lot of memory for large initialized arrays

Ian Lance Taylor ian@wasabisystems.com
Thu Dec 2 16:08:00 GMT 2004


A customer just handed me a test case in which the compiler uses way
too much memory when compiling a large array initialization.  This
turns out to be PR 12245, which previously didn't have a test case
attached to it.

This test case works fine with 2.95.3.  Looking into the patches I
came across this note from you from four years ago:
    http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00937.html

So, I'm reminding you about your four-year-old promise to address this
problem if it arose.

Ian



More information about the Gcc mailing list