------- Comment #7 from amodra at bigpond dot net dot au  2006-01-22 13:00 
-------
Dan Berlin suggested this patch on irc.  (At least, this is how I remember the
sugestion..)  Bootstrapped and reg tested powerpc64-linux.  Cures the problem.

Index: gcc/tree-ssa-pre.c
===================================================================
--- gcc/tree-ssa-pre.c  (revision 110074)
+++ gcc/tree-ssa-pre.c  (working copy)
@@ -2745,6 +2745,8 @@ insert_extra_phis (basic_block block, ba

       FOR_EACH_EDGE (e, ei, block->preds)
        {
+         if (e->flags & EDGE_ABNORMAL)
+           return;
          if (first)
            {
              bitmap_set_copy (tempset, AVAIL_OUT (e->src));


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25315

Reply via email to