c/8647: ICE in GNU99 mode Nr. #2

bkausbk@web.de bkausbk@web.de
Tue Nov 19 13:33:00 GMT 2002

>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
>Originator:     Benjamin Kalytta
>Release:        gcc version 3.3 20021109 (experimental)
x86-cygwin Windows 2000 Prof. (AMD Athlon XP 2200+)
An Internal compiler error will be generated on illegal code:

unsigned int m(int *i) {

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
gcc -Wp,-std=gnu99 test.c

Content-Type: text/plain; name="test.c"
Content-Disposition: inline; filename="test.c"

unsigned int m(int *i) {

More information about the Gcc-bugs mailing list