This is the mail archive of the
mailing list for the GCC project.
Re: c++ code that egcs kills ...
- To: egcs-bugs at cygnus dot com
- Subject: Re: c++ code that egcs kills ...
- From: "Glenn W. Bach" <glenn at dodgson dot wonderland dot caltech dot edu>
- Date: Mon, 24 Aug 1998 13:47:34 -0700
> if (flag_vtable_thunks)
> /* We don't have dynamic thunks yet!
> So for now, just fail silently. */
That's scary! Most users have never even heard of a thunk, so a silent
failure means that they will get incorrect code and never know why it
> I believe this is a known problem in the vtable-thunks implementation.
> You may work around it by rebuilding libstdc++ with -fno-vtable-thunks
> and compiling any C++ program with -fno-vtable-thunks.
When it is the compiler that is at fault, it is unacceptable for a widely
distributed library to require a custom version of a standard library like
> My preference was for people to finish off the implementation of
> thunks, and then if they are a codegen win, to default all
> architectures over to thunks.
I agree. Either put in a fully functional feature or don't put it in at