]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix a regression introduced by last change
authorBernd Schmidt <bernds@redhat.co.uk>
Fri, 22 Dec 2000 14:36:32 +0000 (14:36 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 22 Dec 2000 14:36:32 +0000 (14:36 +0000)
From-SVN: r38459

gcc/ChangeLog
gcc/flow.c

index c5d71cfa9bfe049eefad224aed4a677e6ac2ae42..f54aa89f70e3307ef3ba71bf025ccaa8f1f477d3 100644 (file)
@@ -1,5 +1,8 @@
 2000-12-22  Bernd Schmidt  <bernds@redhat.co.uk>
 
+       * flow.c (propagate_block): Use flow_delete_insn instead of
+       NOTEifying a dead ADDR_VEC.
+
        Fri Sep 10 11:43:07 1999  Philip Blundell <pb@futuretv.com>
        * configure.in, config/arm/linux-oldld.h,
        config/arm/linux-elf26.h, config/arm/linux-elf.h: Backport latest
index 75b6ef4857595a80229ad55d25654df48c03e538..b9c9d07c5b97349d4c70994d6c403c8e2288041a 100644 (file)
@@ -2763,17 +2763,8 @@ propagate_block (old, first, last, final, significant, bnum, remove_dead_code)
                          int i;
                          for (i = 0; i < len; i++)
                            LABEL_NUSES (XEXP (XVECEXP (pat, diff_vec_p, i), 0))--;
-                         PUT_CODE (next, NOTE);
-                         NOTE_LINE_NUMBER (next) = NOTE_INSN_DELETED;
-                         NOTE_SOURCE_FILE (next) = 0;
-
-                         if ((next = next_nonnote_insn (label)) != NULL
-                             && GET_CODE (next) == BARRIER)
-                           {
-                             PUT_CODE (next, NOTE);
-                             NOTE_LINE_NUMBER (next) = NOTE_INSN_DELETED;
-                             NOTE_SOURCE_FILE (next) = 0;
-                           }
+
+                         flow_delete_insn (next);
                        }
                    }
                }