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/35447] [4.2/4.3/4.4 regression] ICE with broken statement expression



------- Comment #3 from jsm28 at gcc dot gnu dot org  2009-02-18 00:38 -------
Subject: Bug 35447

Author: jsm28
Date: Wed Feb 18 00:38:28 2009
New Revision: 144256

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144256
Log:
        PR c/35447
        * c-parser.c (c_parser_compound_statement): Always enter and leave
        a scope.

testsuite:
        * gcc.dg/noncompile/pr35447-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/noncompile/pr35447-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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