-O2 produces buggy code on i386?

Daniel Egger Daniel.Egger@t-online.de
Sun Feb 22 16:39:00 GMT 1998


Hiho!

 I discovered a weird problem:

 I tried to compile egcs-980221 with egcs-980215 with the
 -O2 option (you know, I'd like to add an configure option doing that)
 somewhere he aborted reporting a strange linkfailure:
 He couldn't resolve the symbol __divid3 and likewise in cexp.o 
 in the funktion yyparse... 
 I deleted the file, changed to option to -O2 and surprise, surprise:
 He compiled and linked cccp without any problems....
 I had similar problems compiling g77 and glibc-980215....

--

Servus,
       Daniel



More information about the Gcc mailing list