re PR rtl-optimization/5891 (ICE compiling SPEC fp test with -funroll-loops on ia64)
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Mar 2002 03:06:26 +0000 (04:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Mar 2002 03:06:26 +0000 (04:06 +0100)
PR optimization/5891
* unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.

From-SVN: r50791

gcc/ChangeLog
gcc/unroll.c

index d003e7c71149f67650ebf30f7cdf9ec790cf78df..a62dd2cd551a147b32cba353d45d95fcbe168298 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR optimization/5891
+       * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
+
 2002-03-14  David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
 
        * config/ia64/unwind-ia64.c: Handle copy_state and label_state
index fc189386a390a6ef64f4388336043075183cbfa0..cc3865641f1830c7be24b3e4a669fb212df96b9f 100644 (file)
@@ -2216,6 +2216,7 @@ copy_loop_body (loop, copy_start, copy_end, map, exit_label, last_iteration,
          pattern = copy_rtx_and_substitute (PATTERN (insn), map, 0);
          copy = emit_call_insn (pattern);
          REG_NOTES (copy) = initial_reg_note_copy (REG_NOTES (insn), map);
+         SIBLING_CALL_P (copy) = SIBLING_CALL_P (insn);
 
          /* Because the USAGE information potentially contains objects other
             than hard registers, we need to copy it.  */