ICE in cpp from gcc-2.95.1 on Linux/alpha
Christian Iseli
chris@ludwig-alpha.unil.ch
Mon Sep 6 06:34:00 GMT 1999
Hi folks,
I have stumbled upon an ICE in gcc 2.95.1 on Linux/Alpha
$ uname -a
Linux ludwig-alpha 2.2.3 #2 Thu May 20 16:13:54 CEST 1999 alpha unknown
$ rpm -q glibc
glibc-2.1.2pre1-CI.1
$ gcc -v -O2 -mcpu=ev56 -ansi -pedantic -I../.. -I../../exports/include
-Dlinux -D__alpha__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15
-DNARROWPROTO -I. -DSCROLLBAR_RIGHT -c screen.c -o screen.o
Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/2.95.1/specs
gcc version 2.95.1 19990816 (release)
/usr/lib/gcc-lib/alpha-redhat-linux/2.95.1/cpp -lang-c -std=c89 -v -I../..
-I../../exports/include -I. -D__GNUC__=2 -D__GNUC_MINOR__=95 -trigraphs
-D__STRICT_ANSI__ -D__linux__ -D__unix__ -D_LONGLONG -D__alpha__ -D__ELF__
-D__linux -D__unix -Asystem(linux) -D__OPTIMIZE__ -pedantic -D__LANGUAGE_C__
-D__LANGUAGE_C -Acpu(alpha) -Amachine(alpha) -D__alpha -D__alpha__
-D__alpha_ev5__ -Acpu(ev5) -D__alpha_bwx__ -Acpu(bwx) -Dlinux -D__alpha__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE
-D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DSCROLLBAR_RIGHT screen.c
/tmp/cchMXn7e.i
GNU CPP version 2.95.1 19990816 (release) (Alpha GNU/Linux for ELF)
#include "..." search starts here:
#include <...> search starts here:
../..
../../exports/include
.
/usr/lib/gcc-lib/alpha-redhat-linux/2.95.1/../../../../alpha-redhat-linux/include
/usr/lib/gcc-lib/alpha-redhat-linux/2.95.1/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/usr/lib/gcc-lib/alpha-redhat-linux/2.95.1/../../../../include/g++-3
/usr/local/include
End of omitted list.
cpp: Internal compiler error in `rescan', at ../../gcc/gcc/cccp.c:3148
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
This happens while compiling the file XFree86-3.3.5/xc/programs/xterm/screen.c
from the XFree86 package, version 3.3.5.
Note that the error goes away if I specify -D__NO_STRING_INLINES (or if I
compile without optimization).
Please let me know if I should provide some of my local files (I tried a
--save-temps, but the .i file is empty...)
Cheers,
Christian
More information about the Gcc-bugs
mailing list