* toplev.c (rest_of_compilation): Call purge_all_dead_edges after
reload_cse_regs (-fnon-call-exceptions only).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75669
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-01-11 Richard Sandiford <rsandifo@redhat.com>
+
+ PR optimization/13469
+ * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
+ reload_cse_regs (-fnon-call-exceptions only).
+
2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
* config/mcore/lib1.asm: Fix comment formatting.
{
timevar_push (TV_RELOAD_CSE_REGS);
reload_cse_regs (insns);
+ /* reload_cse_regs can eliminate potentially-trapping MEMs.
+ Remove any EH edges associated with them. */
+ if (flag_non_call_exceptions)
+ purge_all_dead_edges (0);
timevar_pop (TV_RELOAD_CSE_REGS);
}