This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ name mangling, old and new versions?
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: C++ name mangling, old and new versions?
- From: ak at muc dot de
- Date: Thu, 5 Mar 1998 05:12:00 +0100
- Cc: Andi Kleen <ak at muc dot de>, egcs at cygnus dot com
- References: <9803041404.AA24037@elena.sti.jrc.it> <k2n2f5vms1.fsf.cygnus.egcs@zero.aec.at> <u9pvk1iz9e.fsf@yorick.cygnus.com>
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)