[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat May 21 13:43:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24315|0 |1
is obsolete| |
--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> 2011-05-21 13:25:10 UTC ---
Created attachment 24318
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24318
A new patch
For binary operations, if X is narrower than MODE and we want all
the bits in X's mode, just use the operand when it is CONST_INT.
More information about the Gcc-bugs
mailing list