[Bug middle-end/56250] Wrong constant folding on unsigned int

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 8 01:54:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56250

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
          Component|c                           |middle-end

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-02-08 01:54:23 UTC ---
Actually I get the correct results with the split out one.  The problem is
division is being merged together over the negative which is not valid for
wrapping cases.



More information about the Gcc-bugs mailing list