[Bug c++/12807] [tree-ssa] ICE on variable sized array in class

falk dot hueffner at student dot uni-tuebingen dot de gcc-bugzilla@gcc.gnu.org
Tue Oct 28 10:37:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From falk dot hueffner at student dot uni-tuebingen dot de  2003-10-28 10:31 -------
Subject: Re:  [tree-ssa] ICE on variable sized array in class

"reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

> Oops, the code seems to be valid.

No, since the static member is not initialized with a const
expression.  Otherwise, gcc wouldn't know sizeof() of the class.



More information about the Gcc-bugs mailing list