One line change onto r272731
PR target/62147 * gcc/loop-iv.c (find_simple_exit) - if (single_exit (loop) && finite_loop_p (loop)) + if (desc->infinite && single_exit (loop) && finite_loop_p (loop)) From-SVN: r272732
This commit is contained in:
parent
ce3ad45c3c
commit
b5b31291bd
|
@ -3004,7 +3004,7 @@ find_simple_exit (struct loop *loop, struct niter_desc *desc)
|
||||||
well. It results in incorrect predicate information on the exit condition
|
well. It results in incorrect predicate information on the exit condition
|
||||||
expression. For example, if says [(int) _1 + -8, + , -8] != 0 finite,
|
expression. For example, if says [(int) _1 + -8, + , -8] != 0 finite,
|
||||||
it means _1 can exactly divide -8. */
|
it means _1 can exactly divide -8. */
|
||||||
if (single_exit (loop) && finite_loop_p (loop))
|
if (desc->infinite && single_exit (loop) && finite_loop_p (loop))
|
||||||
{
|
{
|
||||||
desc->infinite = NULL_RTX;
|
desc->infinite = NULL_RTX;
|
||||||
if (dump_file)
|
if (dump_file)
|
||||||
|
|
Loading…
Reference in New Issue