aboutsummaryrefslogtreecommitdiff
path: root/libcpp/expr.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-03-15 08:08:31 -0400
committerJason Merrill <jason@gcc.gnu.org>2016-03-15 08:08:31 -0400
commit2aaeea194be58f1ac62c5a3ef6528ed2ae8e92ec (patch)
tree5ca057b6eafdc0abc79daff46e0295d6744dbbfd /libcpp/expr.c
parent08da25814139d7eb1264acb66b60cbb17a123deb (diff)
downloadgcc-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/expr.c')
-rw-r--r--libcpp/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/expr.c b/libcpp/expr.c
index 5353bde..5cdca6f 100644
--- a/libcpp/expr.c
+++ b/libcpp/expr.c
@@ -552,7 +552,7 @@ cpp_classify_number (cpp_reader *pfile, const cpp_token *token,
{
if (CPP_OPTION (pfile, cplusplus))
cpp_error_with_line (pfile, CPP_DL_PEDWARN, virtual_location, 0,
- "use of C++11 hexadecimal floating constant");
+ "use of C++1z hexadecimal floating constant");
else
cpp_error_with_line (pfile, CPP_DL_PEDWARN, virtual_location, 0,
"use of C99 hexadecimal floating constant");