[Bug c++/14179] [4.2/4.3/4.4 Regression] out of memory while parsing array with many initializers
hubicka at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 23 16:06:00 GMT 2009
------- Comment #52 from hubicka at gcc dot gnu dot org 2009-02-23 16:06 -------
With patches proposed for c/12245 we now need 377MB (from original over 1GB)
garbage and produce 920MB of IL.
Pretty much all the garbage is coming from temporary list constructed here:
/* Add it to the vector. */
CONSTRUCTOR_APPEND_ELT(v, identifier, initializer);
in cp_parser_initializer_list.
Perhaps explicitly freeing would be good idea?
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14179
More information about the Gcc-bugs
mailing list