re PR middle-end/81408 (Lots of new -Wunsafe-loop-optimizations warnings with 7 compa...
authorBin Cheng <bin.cheng@arm.com>
Tue, 18 Jul 2017 11:40:38 +0000 (11:40 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 18 Jul 2017 11:40:38 +0000 (11:40 +0000)
commit694dd0e408581c9e3fc0fab4864d9de054c7cc0c
tree03d6bae865524150f12b20bb8f91b52fd55c7ca2
parentf94f48ffacd568e76d526f2cb8f7347c599affda
re PR middle-end/81408 (Lots of new -Wunsafe-loop-optimizations warnings with 7 compared to 6)

PR target/81408
* tree-ssa-loop-niter.c (number_of_iterations_exit): Dump missed
optimization for loop niter analysis.

gcc/testsuite
* g++.dg/tree-ssa/pr81408.C: New.
* gcc.dg/tree-ssa/pr19210-1.c: Check dump message rather than warning.

From-SVN: r250304
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr81408.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
gcc/tree-ssa-loop-niter.c