* cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.

From-SVN: r50363
This commit is contained in:
Jan Hubicka 2002-03-06 19:09:51 +01:00 committed by Jan Hubicka
parent fe477d8b5b
commit a2877a0977
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
* cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
* cfgcleanup.c (mentions_nonequal_regs): New function.

View File

@ -1855,7 +1855,8 @@ verify_flow_info ()
edge_checksum[e->dest->index + 2] += (size_t) e;
}
if (n_eh && !find_reg_note (bb->end, REG_EH_REGION, NULL_RTX))
if (n_eh && GET_CODE (PATTERN (bb->end)) != RESX
&& !find_reg_note (bb->end, REG_EH_REGION, NULL_RTX))
{
error ("Missing REG_EH_REGION note in the end of bb %i", bb->index);
err = 1;