[Bug tree-optimization/52904] -Wstrict-overflow false alarm with bounded loop

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 8 15:05:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52904

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to kugan from comment #9)
> Incorrect warning is gone from the latest trunk build. VRP is now able to
> detect the correct range. This bug can now be closed.

Since it was probably fixed by accident, it will get unfixed by accident again.
If you don't add the testcase to the regression testsuite, this will happen
again:

https://gcc.gnu.org/wiki/HowToPrepareATestcase

If you add a testcase pointing to this PR, when it fails people can come back
here and read the discussion.


More information about the Gcc-bugs mailing list