Internal compiler error for -fall-virtual for 2.95.2
Mark Coletti
mcoletti@nmdrp332.er.usgs.gov
Tue May 2 13:50:00 GMT 2000
I have been unable to get g++ 2.95.2 to emit all the binary for a sub-class.
I've used objdump and nm to verify that the typeinfo, virtual tables,
constructors, and some member functions are not emitted. In an attempt to
discover a work-around for this bug, I tried using -fall-virtual, which yielded
the following error:
mcoletti@nmdrp332~/projects/gmu/miniAQ:149> gmake Attribute.o
c++ -DPACKAGE=\"miniAQ\" -DVERSION=\"0.0\" -DYYTEXT_POINTER=1 -I. -I/home/mcoletti/include -I./boost -ggdb3 -fall-virtual -c Attribute.cpp
In file included from /usr/include/g++-2/std/bastring.h:36,
from /usr/include/g++-2/string:6,
from Attribute.h:10,
from Attribute.cpp:5:
/usr/include/g++-2/std/straits.h:132: Internal compiler error.
/usr/include/g++-2/std/straits.h:132: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
/usr/include/g++-2/std/straits.h:132: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
gmake: *** [Attribute.o] Error 1
I've attached the minimal set of source files needed to reproduce the error.
An Attribute.o built by these source files will have incomplete binaries and
tables for AttributeNominal.
Cheers!
Mark
--
mailto:mcoletti+nospam@clark.net | http://www.clark.net/~mcoletti
Pauli's exclusive, Heisenberg's uncertain, and Schroedinger just waves.
More information about the Gcc-bugs
mailing list