This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/41947] GCC Hexadecimal Floating point constant handling
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jan 2010 18:08:37 -0000
- Subject: [Bug preprocessor/41947] GCC Hexadecimal Floating point constant handling
- References: <bug-41947-18393@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jsm28 at gcc dot gnu dot org 2010-01-01 18:08 -------
Subject: Bug 41947
Author: jsm28
Date: Fri Jan 1 18:08:17 2010
New Revision: 155558
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155558
Log:
libcpp:
PR preprocessor/41947
* expr.c (cpp_classify_number): Give error for hexadecimal
floating-point constant with no digits before or after point.
gcc/testsuite:
* gcc.dg/c99-hexfloat-3.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/c99-hexfloat-3.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/expr.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41947