* unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
authorJan Hubicka <jh@suse.cz>
Mon, 2 Dec 2002 19:29:45 +0000 (20:29 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 2 Dec 2002 19:29:45 +0000 (19:29 +0000)
From-SVN: r59732

gcc/ChangeLog
gcc/unroll.c

index 7d31afc3305c90f647f4bd1ae7c30ea4a5ee81a9..27197e6a57b37827821a04420f305303b1d4b6f2 100644 (file)
@@ -1,3 +1,7 @@
+Mon Dec  2 20:28:48 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
+
 Mon Dec  2 19:42:52 CET 2002  Jan Hubicka  <jh@suse.cz>
 
        * i386.c (ix86_expand_int_movcc):  Avoid overflow.
index 3dea4510657bb073963eb8a0c6ff9e60999d33fd..a357ea209cf67bd19cec27745b578f1d74fa1e61 100644 (file)
@@ -2214,6 +2214,7 @@ copy_loop_body (loop, copy_start, copy_end, map, exit_label, last_iteration,
          REG_NOTES (copy) = initial_reg_note_copy (REG_NOTES (insn), map);
          INSN_SCOPE (copy) = INSN_SCOPE (insn);
          SIBLING_CALL_P (copy) = SIBLING_CALL_P (insn);
+         CONST_OR_PURE_CALL_P (copy) = CONST_OR_PURE_CALL_P (insn);
 
          /* Because the USAGE information potentially contains objects other
             than hard registers, we need to copy it.  */