This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Bump the ABI version for 4.0
- From: Theodore Papadopoulo <Theodore dot Papadopoulo at sophia dot inria dot fr>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Nov 2004 19:12:10 +0100
- Subject: Bump the ABI version for 4.0
For already some time I wonder why the abi version has not been
updated for the 4.0 release. Has it been a deliberate choice or has
it just been forgotten. As far as I can tell it seems that the only
difference is in the mangling of non-type template parameters (that
were not starting with an underscore if I remember correctly).
So for the sake of compatibility with the ABI, would a patch as the
following will make sense ???
Index: common.opt
===================================================================
RCS file: /home/papadop/src/Cvs/Refs/gcc/gcc-cvs/gcc/gcc/common.opt,v
retrieving revision 1.59
diff -r1.59 common.opt
193a194,198
> ; 2: The version of the ABI first used in G++ 3.4.
> ;
> ; 3: The version of the ABI first used in G++ 4.0. Only changes the
> ; mangling of non-type template arguments.
> ;
197c202
< Common Joined UInteger Var(flag_abi_version) Init(2)
---
> Common Joined UInteger Var(flag_abi_version) Init(3)
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
--------------------------------------------------------------------