This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/8646: ICE in GNU99 mode
- From: bkausbk at web dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 19 Nov 2002 21:20:48 -0000
- Subject: c/8646: ICE in GNU99 mode
- Reply-to: bkausbk at web dot de
>Number: 8646
>Category: c
>Synopsis: ICE in GNU99 mode
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Tue Nov 19 13:26:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Benjamin Kalytta
>Release: gcc version 3.3 20021109 (experimental)
>Organization:
>Environment:
x86 - cygwin Windows 2000 prof. (Athlon xp 2200+)
>Description:
Compiling folowing will generate an ICE:
for (it i=0; i<4096; i++){
}
generated error output:
test.c:2: error: `it' undeclared (first use in this function)
test.c:2: error: (Each undeclared identifier is reported only once
test.c:2: error: for each function it appears in.)
test.c:2: error: parse error before "i"
test.c:2: error: `i' undeclared (first use in this function)
test.c:2: error: parse error before ')' token
test.c:4: internal compiler error: in genrtl_compound_stmt, at c-semantics.c:705
>How-To-Repeat:
gcc -Wp,-std=gnu99 test.c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="test.c"
Content-Disposition: inline; filename="test.c"
unsigned int m() {
for (it i=0; i<4096; i++){
}
}