Compiler uses a lot of memory for large initialized arrays

Mark Mitchell mark@codesourcery.com
Thu Dec 2 17:31:00 GMT 2004


Ian Lance Taylor wrote:
> 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.

Fair enough.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gcc mailing list