------- Comment #5 from jakub at gcc dot gnu dot org  2010-03-08 11:54 -------
Subject: Bug 43248

Author: jakub
Date: Mon Mar  8 11:54:11 2010
New Revision: 157275

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157275
Log:
        Backport from mainline:
        2010-03-04  Andrew Pinski  <andrew_pin...@caviumnetworks.com>

        PR c/43248
        * c-decl.c (build_compound_literal): Return early if init is
        an error_mark_node.

        * gcc.dg/compound-literal-1.c: New testcase.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/compound-literal-1.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/c-decl.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to