A g++ compiler bug in a optimaization process

Jongmook Lim jongmook@earthlink.net
Mon Dec 27 20:08:00 GMT 1999


I have made a simuation program with sparse matrix routines.  One funny
things with g++ 2.91.66
is that an executable without optimization flag ( -g or no-flag) ran
well; however, the executable
with optimization flag (-O, -O2, -O3) caused errors after 5 iterations.
My linux is on:

   Intel Pentium2 400MHz
    128 M SDRAM
   Debian 2.1 Slink
   g++.2.91.66
   libstd++2.9

Unfortunately, my source files are bigger that 1M byte.
How can send my source files ?.

Jongmook Lim




More information about the Gcc-bugs mailing list