This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: abi compatibility
- From: Ian Lance Taylor <iant at google dot com>
- To: Bob Rossi <bob_rossi at cox dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 20 Dec 2006 09:05:42 -0800
- Subject: Re: abi compatibility
- References: <20061220145041.GL3022@cox.net>
Bob Rossi <bob_rossi@cox.net> writes:
> Does anyone know if gcc has documented it's abi compatibility between
> minor releases? For example, is 4.1.1 and 4.1.2 guaranteed (besides
> bugs) to have the same abi?
I don't know whether this is documented anywhere.
In general, the C language ABI never changes. The C++ language ABI is
controlled by the -fabi-version=N option. The default version of the
C++ language ABI never changes in a minor release (e.g., 4.1.2), but
it may change in a major release (e.g., 4.1).
In some cases there will be an ABI change for obscure cases of a
specific target. These will be noted in the list of changes for the
release in which they occur. These changes are normally never made in
a minor release.
Ian