This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/81388] Incorrect code generation with -O1 -fno-strict-overflow
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jul 2017 06:30:56 +0000
- Subject: [Bug tree-optimization/81388] Incorrect code generation with -O1 -fno-strict-overflow
- Auto-submitted: auto-generated
- References: <bug-81388-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81388
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
(it helps to describe in what way the code is wrong, for instance in a way that
makes the testcase abort)
Apparently ivcanon thinks the number of iterations is constant, as it would be
for the condition dst != end.