Commit b4ff474c by Richard Stallman

(fixup_var_refs_insns): Don't call delete_insn if not -O.

Make a NOTE_INSN_DELETED instead.

From-SVN: r2609
parent e12f90a9
......@@ -1014,7 +1014,11 @@ fixup_var_refs_insns (var, promoted_mode, unsignedp, insn, toplevel)
&& SET_DEST (PATTERN (insn)) == var
&& rtx_equal_p (SET_SRC (PATTERN (insn)), var))
{
next = delete_insn (insn);
/* In unoptimized compilation, we shouldn't call delete_insn
except in jump.c doing warnings. */
PUT_CODE (insn, NOTE);
NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED;
NOTE_SOURCE_FILE (insn) = 0;
if (insn == last_parm_insn)
last_parm_insn = PREV_INSN (next);
}
......
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