diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2004-01-11 10:22:29 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2004-01-11 10:22:29 +0000 |
commit | 6732ee60436e4a8849e1915ad4cca78f166a561e (patch) | |
tree | 07ff49eedb400190bf72a8fc5705d2d64c96a583 /gcc/toplev.c | |
parent | 14bc67425a66fc7abdb20de3d3d57b5af82cba35 (diff) | |
download | gcc-6732ee60436e4a8849e1915ad4cca78f166a561e.zip gcc-6732ee60436e4a8849e1915ad4cca78f166a561e.tar.gz gcc-6732ee60436e4a8849e1915ad4cca78f166a561e.tar.bz2 |
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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 0f6ca26..4781939 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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); } |