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/43248] [4.4 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1233



------- 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_pinski@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


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