[Bug tree-optimization/23471] a*a (for signed ints with -fno-wrapv) is always postive

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 31 11:22:00 GMT 2016


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
There is tools in tree-ssa-math-opts.c (powi_as_mults) for this, plus this
"re-association" is valid for all TYPE_OVERFLOW kinds.


More information about the Gcc-bugs mailing list