summaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-21 18:45:00 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-21 18:45:00 +0000
commite9107d97deb8485495ebb277b6120c7ba5293c72 (patch)
treea75bbca9f3fbc9da9d02fb12d35775b6d16bb725 /gcc/unroll.c
parentf229c3f267ec8b0aefcc47397e667d58840b8a27 (diff)
downloadgcc-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/unroll.c')
-rw-r--r--gcc/unroll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c
index 52de4996bd4..a0ffa956f23 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -1672,7 +1672,7 @@ initial_reg_note_copy (notes, map)
XEXP (copy, 0) = copy_rtx_and_substitute (XEXP (notes, 0), map, 0);
else if (GET_CODE (notes) == INSN_LIST)
/* Don't substitute for these yet. */
- XEXP (copy, 0) = XEXP (notes, 0);
+ XEXP (copy, 0) = copy_rtx (XEXP (notes, 0));
else
abort ();