mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-04 23:50:11 +08:00
loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning forward from cont dominator.
* loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning forward from cont dominator. From-SVN: r24903
This commit is contained in:
parent
aa1b0f8cc7
commit
22b4cc6595
@ -1,3 +1,8 @@
|
||||
Fri Jan 29 15:44:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning
|
||||
forward from cont dominator.
|
||||
|
||||
Fri Jan 29 07:10:27 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* cccp.c (eprint_string): Constify a char*.
|
||||
|
@ -4036,11 +4036,10 @@ strength_reduce (scan_start, end, loop_top, insn_count,
|
||||
&& ! reg_used_between_p (giv, giv_insn, loop_end))
|
||||
{
|
||||
rtx p;
|
||||
rtx next;
|
||||
|
||||
for (;;)
|
||||
for (next = NEXT_INSN (dominator); ; next = NEXT_INSN (next))
|
||||
{
|
||||
rtx next = NEXT_INSN (dominator);
|
||||
|
||||
if ((GET_RTX_CLASS (GET_CODE (next)) == 'i'
|
||||
&& (reg_mentioned_p (giv, PATTERN (next))
|
||||
|| reg_set_p (bl2->biv->src_reg, next)))
|
||||
|
Loading…
Reference in New Issue
Block a user