* final.c (final_scan_insn): Use delete_insn instead of delete_note.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Sep 2001 11:22:35 +0000 (11:22 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Sep 2001 11:22:35 +0000 (11:22 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45823 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/final.c

index 2f79396..c24acee 100644 (file)
@@ -1,3 +1,7 @@
+Wed Sep 26 13:20:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * final.c (final_scan_insn): Use delete_insn instead of delete_note.
+
 2001-09-25  Andrew Haley  <aph@cambridge.redhat.com>
 
        * except.c (sjlj_mark_call_sites): Change address inside sequence.
index dd8266a..59d1420 100644 (file)
@@ -1972,7 +1972,7 @@ final (first, file, optimize, prescan)
                     && NOTE_LINE_NUMBER (insn) == NOTE_LINE_NUMBER (last)
                     && NOTE_SOURCE_FILE (insn) == NOTE_SOURCE_FILE (last)))
              {
-               delete_note (insn);
+               delete_insn (insn);     /* Use delete_note.  */
                continue;
              }
            last = insn;