]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/13469 (IRIX 6.5 O32 libjava bootstrap failure: ICE in verify_l...
authorRichard Sandiford <rsandifo@redhat.com>
Sun, 11 Jan 2004 10:22:29 +0000 (10:22 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 11 Jan 2004 10:22:29 +0000 (10:22 +0000)
PR optimization/13469
* toplev.c (rest_of_compilation): Call purge_all_dead_edges after
reload_cse_regs (-fnon-call-exceptions only).

From-SVN: r75669

gcc/ChangeLog
gcc/toplev.c

index 0f1a8f50ff30e6875cc521486be5407f9b530b0a..aa363b4934520db6f8a3ef87d65a706351d4b7fd 100644 (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.
index 0f6ca26faba73131b390de6aeefa71130f69f6e2..478193951e3cc7484f1c0a294504a218c50ef304 100644 (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);
     }