This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/81408] Lots of new -Wunsafe-loop-optimizations warnings with 7 compared to 6
- From: "amker at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Jul 2017 11:41:10 +0000
- Subject: [Bug middle-end/81408] Lots of new -Wunsafe-loop-optimizations warnings with 7 compared to 6
- Auto-submitted: auto-generated
- References: <bug-81408-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81408
--- Comment #10 from amker at gcc dot gnu.org ---
Author: amker
Date: Tue Jul 18 11:40:38 2017
New Revision: 250304
URL: https://gcc.gnu.org/viewcvs?rev=250304&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/pr81408.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
trunk/gcc/tree-ssa-loop-niter.c