This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ binary compatibility between GCC 3.1 and GCC 3.2?
- From: Stan Shebs <shebs at apple dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 05 Jul 2002 15:23:31 -0700
- Subject: Re: C++ binary compatibility between GCC 3.1 and GCC 3.2?
- Organization: Apple Computer, Inc.
- References: <200207052212.SAA21066@makai.watson.ibm.com>
David Edelsohn wrote:
>
> I thought that after GCC 3.1 was released, C++ bugs were suppose
> to be fixed in a backward-compatible way not requiring incompatible
> changes in the ABI, even if that required extra work.
If 3.1's output is inadvertantly different from what the ABI
prescribes, then either you do nothing and be incompatible with
the ABI (and other compilers), or you change the compiler and
make 3.2 incompatible with 3.1. The only possible extra work I
can think of for this conundrum is to add a -fabi-3.1 flag that
sacrifices strict ABI compliance so as to match 3.1.
Stan