c++/5434: g++ ICEs on construction of variable sized object
Bas Wijnen
b.wijnen@student.rug.nl
Sat Jan 19 13:06:00 GMT 2002
Hmm, right. I installed a debian system with gcc and g++ without really
looking which version. I now see I have both 2.95 and 3.0 installed.
gccbug<tab> just appended -3.0, so I thought that would be the version I
have installed, not realizing I had two versions installed.
Thank you for the fast reply. I didn't actually need the answer, so I
was not planning to take any other action. If I should, please let me know.
Bye,
Bas Wijnen
On Sat, Jan 19, 2002 at 06:42:55PM -0000, rodrigc@gcc.gnu.org wrote:
> 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-bugs
mailing list