diff options
author | Dale Johannesen <dalej@apple.com> | 2004-02-27 23:48:00 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@gcc.gnu.org> | 2004-02-27 23:48:00 +0000 |
commit | b30e1617dc8b550c542728850152e31f5dfb6ca2 (patch) | |
tree | 5864d75205e934d178070eec26d0d98f19e99fe8 /gcc/combine.c | |
parent | bbc51dc29f2e78be13e4631172d3c1bd05405249 (diff) | |
download | gcc-b30e1617dc8b550c542728850152e31f5dfb6ca2.zip gcc-b30e1617dc8b550c542728850152e31f5dfb6ca2.tar.gz gcc-b30e1617dc8b550c542728850152e31f5dfb6ca2.tar.bz2 |
darwin.c (machopic_output_possible_stub_label): Remove.
2004-02-27 Dale Johannesen <dalej@apple.com>
* config/darwin.c (machopic_output_possible_stub_label): Remove.
config/darwin-protos.h: Ditto.
config/darwin.h: Remove call to it.
* combine.c (distribute_notes): Do not place a REG_DEAD note
when value is both set and used.
From-SVN: r78590
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index b7cad3f..e6656e0 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -12729,26 +12729,16 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2) } #endif } - /* If the register is both set and used here, put the - REG_DEAD note here, but place a REG_UNUSED note - here too unless there already is one. */ - else if (reg_referenced_p (XEXP (note, 0), - PATTERN (tem))) - { - place = tem; - - if (! find_regno_note (tem, REG_UNUSED, - REGNO (XEXP (note, 0)))) - REG_NOTES (tem) - = gen_rtx_EXPR_LIST (REG_UNUSED, XEXP (note, 0), - REG_NOTES (tem)); - } else { PUT_REG_NOTE_KIND (note, REG_UNUSED); /* If there isn't already a REG_UNUSED note, put one - here. */ + here. Do not place a REG_DEAD note, even if + the register is also used here; that would not + match the algorithm used in lifetime analysis + and can cause the consistency check in the + scheduler to fail. */ if (! find_regno_note (tem, REG_UNUSED, REGNO (XEXP (note, 0)))) place = tem; |