From 4ff38cd53f5f24b916133fbc9633bad46b9dc2eb Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 2 Dec 2002 20:29:45 +0100 Subject: [PATCH] * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P. From-SVN: r59732 --- gcc/ChangeLog | 4 ++++ gcc/unroll.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d31afc3305..27197e6a57b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Dec 2 20:28:48 CET 2002 Jan Hubicka + + * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P. + Mon Dec 2 19:42:52 CET 2002 Jan Hubicka * i386.c (ix86_expand_int_movcc): Avoid overflow. diff --git a/gcc/unroll.c b/gcc/unroll.c index 3dea4510657..a357ea209cf 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. */ -- 2.30.2