diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-13 05:26:37 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-13 05:26:37 +0000 |
commit | 1d524ff75f88a700cb457f1ab1caa2746cfe8dfc (patch) | |
tree | 744efbe1acbab7ac37dd08aff6192b4ea5985c38 /gcc/c-family/c-cppbuiltin.c | |
parent | 78db4b4db0bfaef7a744e90741879028fc362953 (diff) | |
download | gcc-1d524ff75f88a700cb457f1ab1caa2746cfe8dfc.tar.gz |
PR c++/64956
* c-opts.c (c_common_post_options): Change flag_abi_version from 0
to the current highest version.
* c-cppbuiltin.c (c_cpp_builtins): Assert that it isn't 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220675 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
-rw-r--r-- | gcc/c-family/c-cppbuiltin.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c index 19365920a86..60c2d7f3862 100644 --- a/gcc/c-family/c-cppbuiltin.c +++ b/gcc/c-family/c-cppbuiltin.c @@ -891,14 +891,8 @@ c_cpp_builtins (cpp_reader *pfile) /* Represents the C++ ABI version, always defined so it can be used while preprocessing C and assembler. */ if (flag_abi_version == 0) - /* Use a very large value so that: - - #if __GXX_ABI_VERSION >= <value for version X> - - will work whether the user explicitly says "-fabi-version=x" or - "-fabi-version=0". Do not use INT_MAX because that will be - different from system to system. */ - builtin_define_with_int_value ("__GXX_ABI_VERSION", 999999); + /* We should have set this to something real in c_common_post_options. */ + gcc_unreachable (); else if (flag_abi_version == 1) /* Due to a historical accident, this version had the value "102". */ |