This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Switching the default for -fabi-version
- From: law at redhat dot com
- To: mark at codesourcery dot com
- Cc: Mike Stump <mrs at apple dot com>, gcc at gcc dot gnu dot org, david dot moore at intel dot com
- Date: Tue, 21 Oct 2003 21:25:19 -0600
- Subject: Re: Switching the default for -fabi-version
- Reply-to: law at redhat dot com
In message <1066788159.26681.21.camel@doubledemon.codesourcery.com>, Mark Mitch
ell writes:
>The short answer is "in some classes, some fields will be at different
>offsets". But that sounds much more severe than it really is; the
>longer answer is "in a few corner-case classes -- such as those with
>lots of empty base classes, or those that have base classes that end
>with bitfields -- the offsets of some virtual bases and/or fields might
>change."
You might want to talk the Mozilla guys -- I've heard them say that they
heavily use empty base classes. They might be able to do some testing
to see if their code is affected. Does -Wabi catch the empty base class
changes?
>There are also a few places (involving complex templates) where the
>mangled name of a function changed.
Not sure who'd have the best real-world tests for this.
Jeff