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 * de.po: Update. 2014-03-18 16:04:06 +00:00
ChangeLog PR cpp/23827 - standard C++ should not have hex float preprocessor 2014-08-28 02:38:24 +00:00
Makefile.in Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
aclocal.m4 Undo inadvertent commit in rev 160105. 2010-06-01 10:20:24 -04: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.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure.ac configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
directives-only.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
directives.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
errors.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
expr.c PR cpp/23827 - standard C++ should not have hex float preprocessor 2014-08-28 02:38:24 +00:00
files.c re PR c/61212 (gcc build failure on "dos file system" due to warnings treated as errors) 2014-05-21 18:54:12 +00:00
identifiers.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
init.c PR cpp/23827 - standard C++ should not have hex float preprocessor 2014-08-28 02:38:24 +00:00
internal.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
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
makeucnid.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
mkdeps.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
pch.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
symtab.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
system.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
traditional.c Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
ucnid.h Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00
ucnid.tab Update copyright years in libcpp/ 2014-01-02 22:24:45 +00:00