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 c/31924] gcc accepts invalid suffixes for decimal float constants



------- Comment #1 from janis at gcc dot gnu dot org  2007-05-15 00:43 -------
Subject: Bug 31924

Author: janis
Date: Mon May 14 23:43:07 2007
New Revision: 124730

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124730
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.

Added:
    trunk/gcc/testsuite/gcc.dg/fltconst-1.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/expr.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31924


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