diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-23 16:53:53 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-23 16:53:53 +0000 |
commit | 26785ec8d2a7c04eb8c0a8a44c9fec5515c2e64b (patch) | |
tree | 730fb1dd5cb47c7638fd2ccd44d2e5ecb188026c /gcc/c-common.c | |
parent | cadce113723715a4985d8ea3925ac95c66cf1076 (diff) | |
download | gcc-26785ec8d2a7c04eb8c0a8a44c9fec5515c2e64b.tar.gz |
* c-common.c (flag_abi_version): Default to 2.
* c-cppbuiltin.c (c_cpp_builtins): Define __GXX_ABI_VERSION
uniformly for versions above 2.
* doc/invoke.texi: Update documentation for -fabi-version.
* cp-lang.c (cp_expr_size): Return zero for empty classes.
* cp-tree.h (warn_if_uknown_interface): Remove unused function.
* decl2.c (warn_if_unknown_interface): Likewise.
* g++.dg/abi/macro0.C: New test.
* g++.dg/abi/macro1.C: Likewise.
* g++.dg/abi/macro2.C: Likewise.
* g++.dg/abi/bitfield5.C: Add explicit -fabi-version=1 option.
* g++.dg/abi/bitfield7.C: Likewise.
* g++.dg/abi/dtor2.C: Likewise.
* g++.dg/abi/mangle11.C: Likewise.
* g++.dg/abi/mangle12.C: Likewise.
* g++.dg/abi/mangle14.C: Likewise.
* g++.dg/abi/mangle17.C: Likewise.
* g++.dg/abi/vbase10.C: Likewise.
* g++.dg/abi/vbase14.C: Likewise.
* g++.dg/template/qualttp17.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74973 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index ce90433c855..9cdd1441098 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -609,10 +609,12 @@ int flag_enforce_eh_specs = 1; 1: The version of the ABI first used in G++ 3.2. + 2: The version of the ABI first used in G++ 3.4. + Additional positive integers will be assigned as new versions of the ABI become the default version of the ABI. */ -int flag_abi_version = 1; +int flag_abi_version = 2; /* Nonzero means warn about things that will change when compiling with an ABI-compliant compiler. */ |