]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
re PR tree-optimization/81913 (wrong code at -O1)
authorBin Cheng <bin.cheng@arm.com>
Thu, 24 Aug 2017 15:38:39 +0000 (15:38 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 24 Aug 2017 15:38:39 +0000 (15:38 +0000)
commit142ff60219724cac948be5bef9fc4e6d1bfb8cfb
treec4b28372b10080cb931f0905dce292ad29c904fd
parent14e18d7100de30f3c2991401bbb414d2e3ffb716
re PR tree-optimization/81913 (wrong code at -O1)

PR tree-optimization/81913
* tree-ssa-loop-niter.c (number_of_iterations_cond): Skip niter
analysis when either IVs in condition can wrap.

gcc/testsuite
* gcc.c-torture/execute/pr81913.c: New test.
* gcc.dg/tree-ssa/loop-niter-1.c: New test.
* gcc.dg/tree-ssa/loop-niter-2.c: New test.

From-SVN: r251337
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr81913.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/loop-niter-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/loop-niter-2.c [new file with mode: 0644]
gcc/tree-ssa-loop-niter.c