gcc/libcpp
Edward Smith-Rowland 7c05e50c73 PR cpp/23827 - standard C++ should not have hex float preprocessor
libcpp/

2014-08-27  Edward Smith-Rowland  <3dw4rd@verizon.net>

	PR cpp/23827 - standard C++ should not have hex float preprocessor
	tokens
	* libcpp/init.c (lang_flags): Change CXX98 flag for extended numbers
	from 1 to 0.
	* libcpp/expr.c (cpp_classify_number): Weite error message for improper
	use of hex floating literal.


gcc/testsuite/

2014-08-27  Edward Smith-Rowland  <3dw4rd@verizon.net>

	PR cpp/23827 - standard C++ should not have hex float preprocessor
	tokens
	* g++.dg/cpp/pr23827_cxx11.C: New.
	* g++.dg/cpp/pr23827_cxx98.C: New.
	* g++.dg/cpp/pr23827_cxx98_neg.C: New.
	* gcc.dg/cpp/pr23827_c90.c: New.
	* gcc.dg/cpp/pr23827_c90_neg.c: New.
	* gcc.dg/cpp/pr23827_c99.c: New.

From-SVN: r214616
2014-08-28 02:38:24 +00:00
..
include cpplib.h (enum c_lang): Add CLK_GNUCXX1Z, CLK_CXX1Z... 2014-08-23 16:50:22 +00:00
po
aclocal.m4
ChangeLog PR cpp/23827 - standard C++ should not have hex float preprocessor 2014-08-28 02:38:24 +00:00
charset.c c-opts.c (sanitize_cpp_opts): Make warn_long_long be set according to warn_c90_c99_compat. 2014-08-19 05:34:31 +00:00
config.in
configure
configure.ac
directives-only.c
directives.c
errors.c
expr.c PR cpp/23827 - standard C++ should not have hex float preprocessor 2014-08-28 02:38:24 +00:00
files.c
identifiers.c
init.c PR cpp/23827 - standard C++ should not have hex float preprocessor 2014-08-28 02:38:24 +00:00
internal.h
lex.c cpplib.h (cpp_options): Use signed char. 2014-08-20 04:12:58 +00:00
line-map.c Support location tracking for built-in macro tokens 2014-07-16 12:33:27 +02:00
macro.c c-opts.c (sanitize_cpp_opts): Make warn_long_long be set according to warn_c90_c99_compat. 2014-08-19 05:34:31 +00:00
Makefile.in
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab