[Bug middle-end/26630] [4.0 Regression] Incorrect result when subtracting, casting to short and back to int, adding and multiplying

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 10 13:52:00 GMT 2006



------- Comment #2 from rguenth at gcc dot gnu dot org  2006-03-10 13:52 -------
We fold
  ((intD.0) ((short intD.7) a1D.1133 - 10000) + 10000) * 2
via extract_muldiv to
  (intD.0) (short intD.7) a1D.1133 * 2


-- 

rguenth at gcc dot gnu dot org changed:

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


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



More information about the Gcc-bugs mailing list