[Bug c/12245] [3.4/4.0/4.1 regression] Uses lots of memory when compiling large initialized arrays

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Mon Sep 12 10:10:00 GMT 2005


------- Additional Comments From giovannibajo at libero dot it  2005-09-12 10:08 -------
The problem is that the gimplifier always want the index field of the 
constructor element to be filled. If you fix that in the obvious way (so 
that "no index" means "previous index + 1"), it should be quite easy to fix, 
for C++. In C, I have no clue how this interacts with designated initializers 
though.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245



More information about the Gcc-bugs mailing list