egcs -O6 fails to compile make 3.75 on i686-pc-linux-gnulibc1

Daniel.Veillard@imag.fr Daniel.Veillard@imag.fr
Sun Sep 14 09:30:00 GMT 1997


  Hi,

I use egcs with -O6 as my standard compiler on linux (redHat 4.2, i686).
For the first time I found a problem with this setup, it occured while
compiling make-3.75 standard distribution :

gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/inclu
de\" -c -I. -I. -I./glob \
       -O6 ar.c -o ar.o
gcc: Internal compiler error: program cc1 got fatal signal 6
make: *** [ar.o] Error 1
make: *** Waiting for unfinished jobs....
~/src/make-3.75 -> gcc -v
Reading specs from /u/veillard/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.90.06/
specs
gcc version egcs-2.90.06 970907 (gcc2-970802 experimental)
~/src/make-3.75 -> 

This is reproductible, and with -O2, the file ar.c compiles fine.
 I always compile egcs itself with -O6 (no debugging informations, sorry)
and with the haifa scheduler enabled.
 I am really impressed by the performance improvement introduced by egcs,
I got around 15% improvement on the zlib code, for example.
I really compile a lot of stuff and that's the first time that -O6 brings
the compiler down, 

  keep up the good work,

Daniel

-- 
Daniel Veillard@w3.org      | W3C / INRIA Rhone-Alpes | Today's Bookmarks :
Daniel.Veillard@inrialpes.fr| 655 av de l'Europe      | Linux, WWW, Java,
Tel : +33 (0)4 76 61 53 85  | 38330 Montbonnot        | badminton, Kaffe,
Fax : +33 (0)4 76 61 52 07  | France                  | HTTP-NG and Amaya.
Home: +33 (0)4 76 63 05 86  | http://opera.inrialpes.fr/veillard





More information about the Gcc mailing list