This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/10089: ICE in size_binop on initialization of variable-length array
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, mmabreu at inf dot ufrgs dot br, nobody at gcc dot gnu dot org
- Date: 15 Mar 2003 03:05:37 -0000
- Subject: Re: c/10089: ICE in size_binop on initialization of variable-length array
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, mmabreu at inf dot ufrgs dot br, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: ICE on initialization of variable-length array
New Synopsis: ICE in size_binop on initialization of variable-length array
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Sat Mar 15 03:05:36 2003
State-Changed-Why:
Confirmed with all versions of gcc from 2.95 to present
mainline. Error is
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c x.c
x.c: In function `main':
x.c:3: internal compiler error: in size_binop, at fold-const.c:1488
I have no idea whether the code is legal, but an ICE is
no appropriate answer anyway.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10089