* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
From-SVN: r24351
This commit is contained in:
parent
f8670be1f7
commit
86147f4854
|
@ -1,3 +1,7 @@
|
|||
Thu Dec 17 08:27:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
|
||||
|
||||
Wed Dec 16 17:30:35 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* toplev.c (main): Disable optimize_size if a specific
|
||||
|
|
|
@ -6305,15 +6305,11 @@ static int
|
|||
combine_givs_used_by_other (g1, g2)
|
||||
struct induction *g1, *g2;
|
||||
{
|
||||
/* Lines marked with ??? test a condition that wasn't meant to be tested
|
||||
and should be deleted. */
|
||||
if (g1->giv_type == DEST_REG
|
||||
&& VARRAY_INT (n_times_set, REGNO (g1->dest_reg)) == 1 /* ??? */
|
||||
&& reg_mentioned_p (g1->dest_reg, PATTERN (g2->insn)))
|
||||
return -1;
|
||||
|
||||
if (g2->giv_type == DEST_REG
|
||||
&& VARRAY_INT (n_times_set, REGNO (g2->dest_reg)) == 1 /* ??? */
|
||||
&& reg_mentioned_p (g2->dest_reg, PATTERN (g1->insn)))
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue