Commit a7c197f8 by Richard Henderson Committed by Richard Henderson

jump.c (delete_insn): Partially revert 19 Jan change; don't convert unused code…

jump.c (delete_insn): Partially revert 19 Jan change; don't convert unused code labels to notes at -O0.

        * jump.c (delete_insn): Partially revert 19 Jan change;
        don't convert unused code labels to notes at -O0.

From-SVN: r31758
parent 095cf96d
2000-02-02 Richard Henderson <rth@cygnus.com>
* jump.c (delete_insn): Partially revert 19 Jan change;
don't convert unused code labels to notes at -O0.
2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* toplev.c (rest_of_compilation): Run rebuild_jump_labels after
......
......@@ -4257,7 +4257,8 @@ delete_insn (insn)
/* Don't delete user-declared labels. Convert them to special NOTEs
instead. */
if (was_code_label && LABEL_NAME (insn) != 0 && ! dont_really_delete)
if (was_code_label && LABEL_NAME (insn) != 0
&& optimize && ! dont_really_delete)
{
PUT_CODE (insn, NOTE);
NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED_LABEL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment