aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-01-01 22:53:31 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-01-01 21:53:31 +0000
commit95e2a53bfc973093444255c95bb79df8ff124f18 (patch)
tree4bec54a3b2de6e178699283b56b960f665722c1e
parent5708d18d3ea09db8d0dd6b291e403e49f5e27a36 (diff)
downloadgcc-95e2a53bfc973093444255c95bb79df8ff124f18.zip
gcc-95e2a53bfc973093444255c95bb79df8ff124f18.tar.gz
gcc-95e2a53bfc973093444255c95bb79df8ff124f18.tar.bz2
emit-rtl.c (emit_copy_of_insn_after): Do not call copy_insn_1 for INSN_LIST.
* emit-rtl.c (emit_copy_of_insn_after): Do not call copy_insn_1 for INSN_LIST. From-SVN: r120316
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/emit-rtl.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fa68d1c..5671e01 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-01 Jan Hubicka <jh@suse.cz>
+
+ * emit-rtl.c (emit_copy_of_insn_after): Do not call copy_insn_1 for
+ INSN_LIST.
+
2007-01-01 Mike Stump <mrs@apple.com>
* configure.ac (HAVE_GAS_LITERAL16): Add autoconf check for
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 517c1a3..aba4b7f 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -5302,7 +5302,7 @@ emit_copy_of_insn_after (rtx insn, rtx after)
else
REG_NOTES (new)
= gen_rtx_INSN_LIST (REG_NOTE_KIND (link),
- copy_insn_1 (XEXP (link, 0)), REG_NOTES (new));
+ XEXP (link, 0), REG_NOTES (new));
}
/* Fix the libcall sequences. */