[Bug tree-optimization/60930] [4.8/4.9/4.10 Regression] Wrong folding of - ((unsigned long long) a * (unsigned long long) (unsigned int)-1)

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 24 15:40:00 GMT 2014


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

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32664|0                           |1
        is obsolete|                            |

--- Comment #9 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Created attachment 32677
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32677&action=edit
Revised proposed patch

Current proposed patch.  Again it would be nice to have verification on the
reported platforms as well, but this should work on 4.8, 4.9, 4.10.  Need to
check 4.7 to see if the same patch works there.



More information about the Gcc-bugs mailing list