[Bug c/43248] [4.4/4.5 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1233

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 4 19:59:00 GMT 2010



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-03-04 19:59 -------
Subject: Bug 43248

Author: pinskia
Date: Thu Mar  4 19:59:19 2010
New Revision: 157233

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157233
Log:
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.
2010-03-04  Andrew Pinski  <andrew_pinski@caviumnetworks.com>

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



Added:
    trunk/gcc/testsuite/gcc.dg/compound-literal-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list