aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-12-02 20:29:45 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2002-12-02 19:29:45 +0000
commit4ff38cd53f5f24b916133fbc9633bad46b9dc2eb (patch)
treeb4561ee06956c11ad15d4023db4a9cba5e5f42a0
parent8d9872d2677718004836ef799956ca703cc81fe9 (diff)
downloadgcc-4ff38cd53f5f24b916133fbc9633bad46b9dc2eb.zip
gcc-4ff38cd53f5f24b916133fbc9633bad46b9dc2eb.tar.gz
gcc-4ff38cd53f5f24b916133fbc9633bad46b9dc2eb.tar.bz2
* unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
From-SVN: r59732
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/unroll.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7d31afc..27197e6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/unroll.c b/gcc/unroll.c
index 3dea451..a357ea2 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -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. */