summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-29 09:14:22 +0000
committerm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-29 09:14:22 +0000
commit4c2deacf3f26d1c2d658e11d05865ffc957599fa (patch)
treeef28294b2f7f74ac91b7b0f377a9b7b33759b4c4
parent78824ffc2111f46e6621a7be773b84954db6d521 (diff)
downloadppe42-gcc-4c2deacf3f26d1c2d658e11d05865ffc957599fa.tar.gz
ppe42-gcc-4c2deacf3f26d1c2d658e11d05865ffc957599fa.zip
* integrate.c (copy_insn_list): Copy the unchanging flag for calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37121 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/integrate.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7e6f098c637..a9cf24dab96 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-29 Michael Hayes <mhayes@redhat.com>
+
+ * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
+
2000-10-28 Geoffrey Keating <geoffk@cygnus.com>
* cpphash.c (cpp_forall_identifiers): Add context variable
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 34387907929..8bf949bb28a 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -1468,6 +1468,7 @@ copy_insn_list (insns, map, static_chain_value)
copy = emit_call_insn (pattern);
SIBLING_CALL_P (copy) = SIBLING_CALL_P (insn);
+ CONST_CALL_P (copy) = CONST_CALL_P (insn);
/* Because the USAGE information potentially contains objects other
than hard registers, we need to copy it. */
OpenPOWER on IntegriCloud