aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Hayes <mhayes@redhat.com>2000-10-29 09:14:22 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2000-10-29 09:14:22 +0000
commit6f268adf3b95994c68ba45ad1ceaa18b776f6b29 (patch)
treeef28294b2f7f74ac91b7b0f377a9b7b33759b4c4 /gcc
parent2bf9b928a5cdead647b876ae2bb76efe0d63324f (diff)
downloadgcc-6f268adf3b95994c68ba45ad1ceaa18b776f6b29.zip
gcc-6f268adf3b95994c68ba45ad1ceaa18b776f6b29.tar.gz
gcc-6f268adf3b95994c68ba45ad1ceaa18b776f6b29.tar.bz2
* integrate.c (copy_insn_list): Copy the unchanging flag for calls.
From-SVN: r37121
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. */