[Bug c/31924] gcc accepts invalid suffixes for decimal float constants
janis at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 21 21:17:00 GMT 2007
------- Comment #2 from janis at gcc dot gnu dot org 2007-05-21 22:17 -------
Subject: Bug 31924
Author: janis
Date: Mon May 21 21:17:23 2007
New Revision: 124913
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124913
Log:
libcpp/
PR c/31924
* expr.c (interpret_float_suffix): Check for invalid suffix.
gcc/testsuite/
PR c/31924
* gcc.dg/fltconst-1.c: New test.
Modified:
branches/ibm/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/ibm/gcc-4_1-branch/libcpp/ChangeLog
branches/ibm/gcc-4_1-branch/libcpp/expr.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31924
More information about the Gcc-bugs
mailing list