This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23827

--- Comment #3 from emsr at gcc dot gnu.org ---
Author: emsr
Date: Thu Aug 28 02:38:24 2014
New Revision: 214616

URL: https://gcc.gnu.org/viewcvs?rev=214616&root=gcc&view=rev
Log:

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.



Added:
    trunk/gcc/testsuite/g++.dg/cpp/pr23827_cxx11.C
    trunk/gcc/testsuite/g++.dg/cpp/pr23827_cxx98.C
    trunk/gcc/testsuite/g++.dg/cpp/pr23827_cxx98_neg.C
    trunk/gcc/testsuite/gcc.dg/cpp/pr23827_c90.c
    trunk/gcc/testsuite/gcc.dg/cpp/pr23827_c90_neg.c
    trunk/gcc/testsuite/gcc.dg/cpp/pr23827_c99.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/expr.c
    trunk/libcpp/init.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]