re PR rtl-optimization/10157 ([Sparc] internal compiler error: in extract_insn, at...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 3 Apr 2003 19:20:06 +0000 (21:20 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 3 Apr 2003 19:20:06 +0000 (19:20 +0000)
commit773eae3968d667a04e0fadf85c2536ad2a313618
treeda21670875e2f4f834c72f607c39c9fb2b81cb38
parent613fa1469c1a9b5a8f27fe76a5731e154535c71e
re PR rtl-optimization/10157 ([Sparc] internal compiler error: in extract_insn, at recog.c:2188)

PR optimization/10157
* gcse.c (can_copy_p): Rename it to can_copy.
(can_copy_init_p): Remove.
(compute_can_copy): Use can_copy instead of can_copy_p.
(can_copy_p): New exported function. Call compute_can_copy.
(hash_scan_set): Use it.
(gcse_main): Don't call compute_can_copy.
(bypass_jumps): Don't call compute_can_copy.
* rtl.h (can_copy_p): Declare.
* loop.c (scan_loop): Don't move the source and add a reg-to-reg
copy if the mode doesn't support copy operations.

From-SVN: r65210
gcc/ChangeLog
gcc/gcse.c
gcc/loop.c
gcc/rtl.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/sparc-loop-1.c [new file with mode: 0644]