c++/5434: g++ ICEs on construction of variable sized object
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Sat Jan 19 10:42:00 GMT 2002
Synopsis: g++ ICEs on construction of variable sized object
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Jan 19 10:42:54 2002
State-Changed-Why:
Why are you compiling with gcc 2.95.4 but reporting this
as a bug in gcc 3.0.3?
Your test case does not ICE with gcc 3.0.3
or gcc 3.1 in CVS, but it produces an error:
data.h:17: size of member `realdata' is not constant
Your workaround of using a #define is valid.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5434
More information about the Gcc-prs
mailing list