c/9163: [3.3/3.4 regression] ICE in genrtl_compound_stmt at c-semantics.c:776 with c99 mode
Christian Ehrhardt
ehrhardt@mathematik.uni-ulm.de
Mon Jan 13 05:17:00 GMT 2003
> Confirmed. I could not reproduce this with a 3.2.2 from
> 20021213, though. Which version did you use, Christian?
20021218 ICEs, i.e. the bug was introduced between 20021213 and 20021218
into the 3.2 branch. Here's the output of gcc-3.2.2 on sparc:
$ ~/gcc-3.2-cvs/install/bin/gcc -v -std=c99 9163.c
Reading specs from /home/thales/ehrhardt/gcc-3.2-cvs/install/bin/../lib/gcc-lib/sparc-sun-solaris2.9/3.4/specs
Configured with:
Thread model: posix
gcc version 3.4 20021218 (experimental)
/home/thales/ehrhardt/gcc-3.2-cvs/install/bin/../lib/gcc-lib/sparc-sun-solaris2.9/3.4/cc1 -quiet -v -iprefix /home/thales/ehrhardt/gcc-3.2-cvs/install/bin/../lib/gcc-lib/sparc-sun-solaris2.9/3.4/ -D__GNUC__=3 -D__GNUC_MINOR__=4 -D__GNUC_PATCHLEVEL__=0 -D__sparc__ -D__sparc -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc 9163.c -quiet -dumpbase 9163.c -auxbase 9163 -std=c99 -version -o /tmp/ccpmm6NL.s
GNU C version 3.4 20021218 (experimental) (sparc-sun-solaris2.9)
compiled by GNU C version 3.4 20021218 (experimental).
ignoring nonexistent directory "/home/thales/ehrhardt/gcc-3.2-cvs/install/sparc-sun-solaris2.9/include"
ignoring nonexistent directory "/home/thales/ehrhardt/gcc-3.2-cvs/install/sparc-sun-solaris2.9/include"
ignoring duplicate directory "/home/thales/ehrhardt/gcc-3.2-cvs/install/lib/gcc-lib/sparc-sun-solaris2.9/3.4/include"
#include "..." search starts here:
#include <...> search starts here:
/home/thales/ehrhardt/gcc-3.2-cvs/install/lib/gcc-lib/sparc-sun-solaris2.9/3.4/include
/usr/local/include
/home/thales/ehrhardt/gcc-3.2-cvs/install/include
/usr/include
End of search list.
9163.c: In function `f':
9163.c:3: error: parse error before "int"
9163.c:4: internal compiler error: in genrtl_compound_stmt, at c-semantics.c:726
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
regards Christian
--
THAT'S ALL FOLKS!
More information about the Gcc-bugs
mailing list