This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/5615: ICE in size_binop, at fold-const.c:1914
- From: bas at equator dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 6 Feb 2002 17:59:38 -0000
- Subject: c/5615: ICE in size_binop, at fold-const.c:1914
- Reply-to: bas at equator dot com
>Number: 5615
>Category: c
>Synopsis: ICE in size_binop, at fold-const.c:1914
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Feb 06 10:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: bas@equator.com
>Release: 3.0.2
>Organization:
>Environment:
System: Linux marilyn 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /tmp/gcc-3.0.2/configure
>Description:
bas@marilyn:~ > cat ice.c
void f(int a, struct {int b[a];} c){}
bas@marilyn:~ > gcc -c ice.c
ice.c:1: warning: structure defined inside parms
ice.c:1: warning: anonymous struct declared inside parameter list
ice.c:1: warning: its scope is only this definition or declaration, which is probably not what you want.
ice.c: In function `f':
ice.c:1: Internal compiler error in size_binop, at fold-const.c:1914
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
see above
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: