This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/5615: ICE in size_binop, at fold-const.c:1914



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]