aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-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 7e6f098..a9cf24d 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 3438790..8bf949b 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. */