From: J"orn Rennecke Date: Thu, 17 Dec 1998 00:29:00 +0000 (+0000) Subject: * loop.c (combine_givs_used_by_other): Don't depend on n_times_set. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86147f4854e3857252bb39a2fb80d5828daa6be2;p=platform%2Fupstream%2Fgcc.git * loop.c (combine_givs_used_by_other): Don't depend on n_times_set. From-SVN: r24351 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d0ca9ce..6447f44 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Dec 17 08:27:03 1998 J"orn Rennecke + + * loop.c (combine_givs_used_by_other): Don't depend on n_times_set. + Wed Dec 16 17:30:35 1998 Nick Clifton * toplev.c (main): Disable optimize_size if a specific diff --git a/gcc/loop.c b/gcc/loop.c index 83d5cf6..dcae8d0 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -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;