tree-scalar-evolution.c (iv_can_overflow_p): New function.
authorJan Hubicka <jh@suse.cz>
Tue, 5 Jul 2016 16:17:12 +0000 (18:17 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 5 Jul 2016 16:17:12 +0000 (16:17 +0000)
commit1e3d54b4299c69b4e40205dd7d6cabc888b307c5
treed03a0e81441d18d5bd2895516d42ce6af2c990f0
parent341c5337bfb2f281cbb377b3bbdbbdf503f3520e
tree-scalar-evolution.c (iv_can_overflow_p): New function.

* tree-scalar-evolution.c (iv_can_overflow_p): New function.
(simple_iv): Use it.

* gcc.dg/tree-ssa/scev-14.c: new testcase.

From-SVN: r238012
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/scev-14.c [new file with mode: 0644]
gcc/tree-scalar-evolution.c