------- Comment #4 from jsm28 at gcc dot gnu dot org  2009-02-17 13:00 -------
Subject: Bug 35446

Author: jsm28
Date: Tue Feb 17 13:00:40 2009
New Revision: 144227

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144227
Log:
        PR c/35446
        * c-parser.c (c_parser_braced_init): Call pop_init_level when
        skipping until next close brace.

testsuite:
        * gcc.dg/noncompile/init-5.c: New test.
        * gcc.dg/init-bad-4.c: Adjust expected errors.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/noncompile/init-5.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/c-parser.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/init-bad-4.c


-- 


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

Reply via email to