Internal compiler error for -fall-virtual for 2.95.2 WORKAROUND

Mark Coletti mcoletti@clark.net
Tue May 2 14:14:00 GMT 2000


On Tue, 02 May 2000 16:45:55 EDT, I wrote:

> 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.  [...]

  I discovered that g++ properly emits all of the binary for that
sub-class if I re-order its sections from public/protected/private to
private/protected/public.

Cheers!

Mark
-- 
Mark Coletti | mailto:mcoletti@clark.net | http://www.clark.net/~mcoletti/




More information about the Gcc-bugs mailing list