[Bug tree-optimization/49234] [4.5/4.6/4.7/4.8 Regression] -Wstrict-overflow gives obviously unwarranted warning

ian at airs dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 1 14:53:00 GMT 2013


Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
                 CC|                            |ian at airs dot com

--- Comment #11 from Ian Lance Taylor <ian at airs dot com> 2013-03-01 14:52:53 UTC ---
I suspect we can handle this case by observing that all the incoming values to
the PHI node are constants.

It's true that strict overflow warnings are my fault but I believe it was a
necessary move to keep people from turning on -fwrapv.

More information about the Gcc-bugs mailing list