-fexpensive-optimizations + haifa

Jeffrey A Law law@cygnus.com
Sat May 23 22:32:00 GMT 1998


  In message < 19980523113133.30334@merelda.urh.uiuc.edu >you write:
  > I've found an error compiling the vger linux kernels (2.1.103), with
  > the following:
  > /usr/lib/gcc-lib/powerpc-unknown-linux-gnulibc1/egcs-2.91.29/specs gcc
  > version egcs-2.91.29 19980517 (gcc2 ss-980502 experimental)
  > 
  > This is on a linux powerpc platform, built with haifa. Using -O2
  > -fno-expensive-optimizations fixes the internal compiler error. It's
  > a stage2 compile.
  > 
  > gcc -D__KERNEL__ -I/usr/src/cvs/linux/include -Wall -Wstrict-prototypes
  > -O2 -mcpu=604e -D__powerpc__ -fsigned-char -msoft-float -pipe
  > -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstring   -c -o
  > super.o super.c
  > 
  > ../../egcs/gcc/haifa-sched.c:7577: Internal compiler error in function
  > schedule_region
You should provide us cpp output for this problem.   You should not
assume that the maintainers have any particular code you might be
compiling.

In fact, I don't have a ppc ro that version of the linux kernel, so
I can not easily reproduce your bug.  However, if you provide the
cpp output I'll be able to work on the bug.


jeff



More information about the Gcc-bugs mailing list