diff options
author | Jason Merrill <jason@redhat.com> | 2014-08-25 01:05:01 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-08-25 01:05:01 -0400 |
commit | 028aee171abc1b13e97734bac4a3db46743d7a6b (patch) | |
tree | d336eea618bf43328e36d2b18690a8a1c4b26f95 /gcc/c-family/c-common.h | |
parent | 3f0d513197d9b0872b016229f5d1d1c76adb39b7 (diff) | |
download | gcc-028aee171abc1b13e97734bac4a3db46743d7a6b.zip gcc-028aee171abc1b13e97734bac4a3db46743d7a6b.tar.gz gcc-028aee171abc1b13e97734bac4a3db46743d7a6b.tar.bz2 |
c.opt: Change -std=c++1y and -std=gnu++1y to be aliases for -std=c++14 and -std=gnu++14...
* c.opt: Change -std=c++1y and -std=gnu++1y to be aliases for
-std=c++14 and -std=gnu++14, rather than the reverse.
* c-opts.c (c_common_handle_option): Change OPT_std_c__1y and
OPT_std_gnu__1y to OPT_std_c__14 and OPT_std_gnu__14.
* c-common.h (cxx_dialect): Remove cxx1y.
From-SVN: r214414
Diffstat (limited to 'gcc/c-family/c-common.h')
-rw-r--r-- | gcc/c-family/c-common.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index f621a3a..d1cc810 100644 --- a/gcc/c-family/c-common.h +++ b/gcc/c-family/c-common.h @@ -640,9 +640,8 @@ enum cxx_dialect { /* C++11 */ cxx0x, cxx11 = cxx0x, - /* C++14 */ - cxx1y, - cxx14 = cxx1y, + /* C++14 */ + cxx14, /* C++1z (C++17?) */ cxx1z }; |