This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: -fexpensive-optimizations + haifa
- To: anthony tong <atong at uiuc dot edu>
- Subject: Re: -fexpensive-optimizations + haifa
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 23 May 1998 22:58:48 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
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