libcpp/
commit2ab4e475337c409449a1982e504ed83d94ee32ed
authoremsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Aug 2014 02:38:24 +0000 (28 02:38 +0000)
committeremsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Aug 2014 02:38:24 +0000 (28 02:38 +0000)
tree52684ca4b76255d7a5b61ebbf050e5ead8070089
parent23132abe656f5b473dd69a459b6cc1500517be5f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214616 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp/pr23827_cxx11.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp/pr23827_cxx98.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp/pr23827_cxx98_neg.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/pr23827_c90.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/pr23827_c90_neg.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/pr23827_c99.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/expr.c
libcpp/init.c