]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/31924 (gcc accepts invalid suffixes for decimal float constants)
authorJanis Johnson <janis187@us.ibm.com>
Mon, 14 May 2007 23:43:07 +0000 (23:43 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Mon, 14 May 2007 23:43:07 +0000 (23:43 +0000)
commit30e04921873057fd9c85458127e51862d0cf2304
treeb853079a0b6c6486743cd6cf3116784b5035dce2
parentd077694a0f9e7fdb7fb663e66f2200e33b7230ad
re PR c/31924 (gcc accepts invalid suffixes for decimal float constants)

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.

From-SVN: r124730
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fltconst-1.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/expr.c