This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/8647: ICE in GNU99 mode Nr. #2
- From: bkausbk at web dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 19 Nov 2002 21:23:55 -0000
- Subject: c/8647: ICE in GNU99 mode Nr. #2
- Reply-to: bkausbk at web dot de
>Number: 8647
>Category: c
>Synopsis: ICE in GNU99 mode Nr. #2
>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:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Benjamin Kalytta
>Release: gcc version 3.3 20021109 (experimental)
>Organization:
>Environment:
x86-cygwin Windows 2000 Prof. (AMD Athlon XP 2200+)
>Description:
An Internal compiler error will be generated on illegal code:
unsigned int m(int *i) {
if
*i=0;
}
generated error message:
test.c: In function `m':
test.c:6: error: parse error before '*' token
test.c:7: 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(int *i) {
if
*i=0;
}