From: Jim Wilson Date: Wed, 7 Jul 1999 00:40:46 +0000 (-0600) Subject: unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes. X-Git-Tag: prereleases/gcc-2.95-test~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=091a7c948645ef9a6b6628ca5ed7b730ad7ab1f8;p=thirdparty%2Fgcc.git unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes. 8 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes. From-SVN: r27982 --- diff --git a/gcc/unroll.c b/gcc/unroll.c index 7e584c961d06..9ac883a1d49e 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -1262,7 +1262,13 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before, insn = NEXT_INSN (copy_start); while (insn != safety_label) { - if (insn != start_label) + /* ??? We can't delete a NOTE_INSN_DELETED_LABEL unless we fix the + DECL_RTL field of the associated LABEL_DECL to point to (one of) + the new copies of the label. Otherwise, we hit an abort in + dwarfout.c/dwarf2out.c. */ + if (insn != start_label + && ! (GET_CODE (insn) == NOTE + && NOTE_LINE_NUMBER (insn) == NOTE_INSN_DELETED_LABEL)) insn = delete_insn (insn); else insn = NEXT_INSN (insn);