Mail Archives: pgcc/1999/04/21/16:02:15
Just in case it's useful to the developers, or for the curiosity and
enjoyment of others, here's a very small bit of code that pgcc 1.1.2
can't compile with -O2:
$ more bad.c
b() {
long long l;
int i;
if (l | i) i=0;
}
$ make
/s/egcs-1.1.2/src/sunx86_56/gcc/stage1/xgcc
-B/s/egcs-1.1.2/src/sunx86_56/gcc/stage1/ -O2 -c bad.c
/s/egcs-1.1.2/src/pgcc-1.1.2/gcc/sched.c:5296: Internal compiler error
in function update_flow_info
make: *** [bad.o] Error 1
Note that it uses the stage 1 compiler (compiled with pgcc 1.1.1), since
of course the build of the stage 2 compiler fails. This is on Solaris
2.6 .
Cheers,
Marc
- Raw text -