[Bug c++/17347] C++ FE produces invalid CONSTRUCTOR trees for vtables

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Wed Sep 22 09:20:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-09-22 09:20 -------
I think this should be rediscussed. I'm trying to fix PR14179 where we build a 
CONSTRUCTOR for 8 million of initializers. It is unfortunate to be forced to 
store a progressive INTEGER_CST into the TREE_PURPOSE of each element because 
it would waste too much memory.

I know we used to accept a CONSTRUCTOR with empty TREE_PURPOSE pre-tree-ssa, 
with the obvious meaning (previous index + 1). Why cannot we do this anymore?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giovannibajo at libero dot
                   |                            |it, rth at redhat dot com


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



More information about the Gcc-bugs mailing list