This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/59507] ICE: in mark_reachable_handlers, at tree-eh.c:3833 with -O -fnon-call-exceptions -fvtable-verify=preinit
- From: "ctice at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Apr 2014 21:17:10 +0000
- Subject: [Bug middle-end/59507] ICE: in mark_reachable_handlers, at tree-eh.c:3833 with -O -fnon-call-exceptions -fvtable-verify=preinit
- Auto-submitted: auto-generated
- References: <bug-59507-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59507
ctice at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ctice at gcc dot gnu.org
--- Comment #3 from ctice at gcc dot gnu.org ---
This is caused by the verification call being inserted after an exception
handler landing pad, in the same basic block as the landing pad, when GCC
expects the landing pad statement to be the last statement in the basic block.
The fix for this will be to split all the outgoing edges and insert new basic
blocks on each, with the verification call in there instead. I will work on
this, but it may take me a little time to get right.