This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2009 14:57:56 -0000
- Subject: [Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408
- References: <bug-40948-13189@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from jakub at gcc dot gnu dot org 2009-08-03 14:57 -------
Seems this is cleanup of the finish_compound_literal returned TARGET_EXPR vs.
TRY_BLOCK added by build_vec_init for the from_array != 2 case.
The TARGET_EXPR with cleanup is only referenced from within stmts inside of the
TRY_BLOCK, yet the corresponding CLEANUP_POINT_EXPR is only added outside of
the TRY_BLOCK and thus gimplification doesn't find the
GIMPLE_WITH_CLEANUP_EXPR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40948