diff options
author | Jason Merrill <jason@redhat.com> | 2016-03-15 08:08:31 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-03-15 08:08:31 -0400 |
commit | 2aaeea194be58f1ac62c5a3ef6528ed2ae8e92ec (patch) | |
tree | 5ca057b6eafdc0abc79daff46e0295d6744dbbfd /libcpp/init.c | |
parent | 08da25814139d7eb1264acb66b60cbb17a123deb (diff) | |
download | gcc-2aaeea194be58f1ac62c5a3ef6528ed2ae8e92ec.zip gcc-2aaeea194be58f1ac62c5a3ef6528ed2ae8e92ec.tar.gz gcc-2aaeea194be58f1ac62c5a3ef6528ed2ae8e92ec.tar.bz2 |
expr.c (cpp_classify_number): Hex floats are new in C++1z.
* libcpp/expr.c (cpp_classify_number): Hex floats are new in C++1z.
* libcpp/init.c (lang_defaults): Likewise.
* gcc/c-family/c-cppbuiltin.c (c_cpp_builtins): Set __cpp_hex_float.
From-SVN: r234213
Diffstat (limited to 'libcpp/init.c')
-rw-r--r-- | libcpp/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/init.c b/libcpp/init.c index 6bc4296..4343075 100644 --- a/libcpp/init.c +++ b/libcpp/init.c @@ -105,9 +105,9 @@ static const struct lang_flags lang_defaults[] = /* GNUCXX */ { 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 }, /* CXX98 */ { 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0 }, /* GNUCXX11 */ { 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0 }, - /* CXX11 */ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0 }, + /* CXX11 */ { 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0 }, /* GNUCXX14 */ { 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0 }, - /* CXX14 */ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 }, + /* CXX14 */ { 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 }, /* GNUCXX1Z */ { 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1 }, /* CXX1Z */ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 }, /* ASM */ { 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } |