* integrate.c (copy_insn_list): Copy the unchanging flag for calls.
authorMichael Hayes <mhayes@redhat.com>
Sun, 29 Oct 2000 09:14:22 +0000 (09:14 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Sun, 29 Oct 2000 09:14:22 +0000 (09:14 +0000)
From-SVN: r37121

gcc/ChangeLog
gcc/integrate.c

index 7e6f098c637ad340d4bc4d8fe1b66cd7d91b5545..a9cf24dab96581abfc0a25588f03af532f2ae9c0 100644 (file)
@@ -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
index 3438790792900173231af0cdbaefa8b55fb87999..8bf949bb28aaae83aa19f79963983e7675456378 100644 (file)
@@ -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.  */