loop.c (check_final_value): Don't miss a biv increment in a parallel.

* loop.c (check_final_value): Don't miss a biv increment in a
        parallel.

From-SVN: r14947
This commit is contained in:
Michael P. Hayes 1997-08-27 00:44:25 +00:00 committed by Jeff Law
parent cf7c222f5d
commit c5da853fcd
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
* loop.c (check_final_value): Don't miss a biv increment in a
parallel.
Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check

View File

@ -4894,8 +4894,7 @@ check_final_value (v, loop_start, loop_end)
break;
}
}
else if (GET_CODE (PATTERN (p)) == SET
&& SET_DEST (PATTERN (p)) == v->src_reg)
else if (reg_set_p (v->src_reg, PATTERN (p)))
biv_increment_seen = 1;
else if (reg_mentioned_p (v->dest_reg, PATTERN (p)))
last_giv_use = p;