aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-opts.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2017-05-08 14:45:42 -0400
committerJason Merrill <jason@gcc.gnu.org>2017-05-08 14:45:42 -0400
commit49f0c04c37b2f73dd88ccf5d8fc93c1dcb6ef2c2 (patch)
treedec92a043743359cda1d01f2194f4c24594196e1 /gcc/c-family/c-opts.c
parent0f6ed1211d4e6759a0c35bc8d05fb07e5eab7bea (diff)
downloadgcc-49f0c04c37b2f73dd88ccf5d8fc93c1dcb6ef2c2.zip
gcc-49f0c04c37b2f73dd88ccf5d8fc93c1dcb6ef2c2.tar.gz
gcc-49f0c04c37b2f73dd88ccf5d8fc93c1dcb6ef2c2.tar.bz2
Bump C++ ABI version.
* c-opts.c (c_common_post_options): Update defaults for flag_abi_version and flag_abi_compat_version. From-SVN: r247756
Diffstat (limited to 'gcc/c-family/c-opts.c')
-rw-r--r--gcc/c-family/c-opts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c
index ea0e01b..ed1b0377 100644
--- a/gcc/c-family/c-opts.c
+++ b/gcc/c-family/c-opts.c
@@ -909,15 +909,15 @@ c_common_post_options (const char **pfilename)
}
else if (flag_abi_compat_version == -1)
{
- /* Generate compatibility aliases for ABI v10 (6.1) by default. */
+ /* Generate compatibility aliases for ABI v11 (7.1) by default. */
flag_abi_compat_version
- = (flag_abi_version == 0 ? 10 : 0);
+ = (flag_abi_version == 0 ? 11 : 0);
}
/* Change flag_abi_version to be the actual current ABI level for the
benefit of c_cpp_builtins. */
if (flag_abi_version == 0)
- flag_abi_version = 11;
+ flag_abi_version = 12;
/* By default, enable the new inheriting constructor semantics along with ABI
11. New and old should coexist fine, but it is a change in what