re PR rtl-optimization/13469 (IRIX 6.5 O32 libjava bootstrap failure: ICE in verify_local_live_at_start, at flow.c:557)

PR optimization/13469
	* toplev.c (rest_of_compilation): Call purge_all_dead_edges after
	reload_cse_regs (-fnon-call-exceptions only).

From-SVN: r75669
This commit is contained in:
Richard Sandiford 2004-01-11 10:22:29 +00:00 committed by Richard Sandiford
parent 14bc67425a
commit 6732ee6043
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -3388,6 +3388,10 @@ rest_of_compilation (tree decl)
{
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);
}