diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-21 18:45:00 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-21 18:45:00 +0000 |
commit | e9107d97deb8485495ebb277b6120c7ba5293c72 (patch) | |
tree | a75bbca9f3fbc9da9d02fb12d35775b6d16bb725 /gcc/jump.c | |
parent | f229c3f267ec8b0aefcc47397e667d58840b8a27 (diff) | |
download | gcc-e9107d97deb8485495ebb277b6120c7ba5293c72.tar.gz |
* flow.c (proagate_one_insn): Remove useless assignment.
* jump.c (delete_insn): Tidy.
* loop.c (try_copy_prop): When deleting an instruction with a
REG_RETVAL note, delete the entire libcall sequence.
(loop_delete_insns): New function.
* unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
we're not substituting into them yet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41486 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/jump.c b/gcc/jump.c index 242692143b1..e3ed1b42747 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -2823,16 +2823,15 @@ delete_insn (insn) to special NOTEs instead. When not optimizing, leave them alone. */ if (was_code_label && LABEL_NAME (insn) != 0) { - if (! optimize) - dont_really_delete = 1; - else if (! dont_really_delete) + if (optimize) { const char *name = LABEL_NAME (insn); PUT_CODE (insn, NOTE); NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED_LABEL; NOTE_SOURCE_FILE (insn) = name; - dont_really_delete = 1; } + + dont_really_delete = 1; } else /* Mark this insn as deleted. */ |