[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

egcs problem


My g++ is sometime crashing with something like "cc1plus got fatal
signal 11". 

g++ -c -g -Wall -Wcast-qual  -Woverloaded-virtual -Wconversion
-Wstrict-prototypes -Winline -DVDKDEBUG -I../include `gtk-config
--cflags` -o vdkclist.o vdkclist.cc
vdkclist.cc: g++: Internal compiler error: program cc1plus got fatal
signal 11
make: *** [vdkclist.o] Error 1

If I add -O2, than the programs are compile OK. So why the program
compiles with optimisation and not without it ? I would have understood
the reverse, but not this ! 

I have had this problem for a long time. My current g++ is:

Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)



Reply to: