[Bug middle-end/41742] Unnecessary zero-extension at -O2 but not -O1

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 16 10:40:00 GMT 2012


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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-08-16
                 CC|                            |segher at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> 2012-08-16 10:39:45 UTC ---
Still happens on mainline: -O2 still has the superfluous sign-extend,
but now the -O1 code is perfect.



More information about the Gcc-bugs mailing list