diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1998-12-17 00:29:00 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 1998-12-17 00:29:00 +0000 |
commit | 86147f4854e3857252bb39a2fb80d5828daa6be2 (patch) | |
tree | 0d81d55476addaa8112aace62df217dd20da7061 /gcc | |
parent | f8670be1f7341a08d381c73f0fc413018cf413e1 (diff) | |
download | gcc-86147f4854e3857252bb39a2fb80d5828daa6be2.zip gcc-86147f4854e3857252bb39a2fb80d5828daa6be2.tar.gz gcc-86147f4854e3857252bb39a2fb80d5828daa6be2.tar.bz2 |
* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
From-SVN: r24351
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/loop.c | 4 |
2 files changed, 4 insertions, 4 deletions
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 <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; |