This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/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: Thu, 13 Jul 2017 16:23:18 +0000
- Subject: [Bug c++/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 #8 from amker at gcc dot gnu.org ---
After I deleted -funsafe-loop-optimizations in GIMPLE passes, there is no
"unsafe-loop-optimizations" for any GIMPLE optimizers. This message in
actuality means missed loop optimizations. I am preparing patch dumping the
message to category MSG_MISSED_OPTIMIZATION.
On the other hand, I noticed the niter analysis for c++ iterator loop is bad.
I will create another PR for it.