This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ name mangling, old and new versions?


On Thu, Mar 05, 1998 at 04:37:33AM +0100, Jason Merrill wrote:
> >>>>> Andi Kleen <ak@muc.de> writes:
> 
> > I had good look with -fno-rtti -fno-exceptions together with a 2.7.2
> > compiled Qt. The vtable layout is different when RTTI is enabled, so
> > egcs protects against mistakes by encoding that in the mangled name.
> 
> Both those statements are false for -fno-rtti, though they are true of
> -fvtable-thunks.

You mean the mangling is only changed (between -frtti/no-rtti) when
vtable-thunks is enabled? If this is true how is the typeinfo encoded
then when vtable-thunks is not enabled?

-Andi (a bit puzzled about your statements)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]