[Bug rtl-optimization/52838] [x32] missed optimization for pointer return value

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 5 00:46:00 GMT 2012


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-04-05 00:46:13 UTC ---
(In reply to comment #2)
> The existence of (subreg/s/u:SI (reg:DI 60) 0) means that (reg:DI 60) is known
> to be a zero-extended 32-bit value, so the optimization is valid (and useful).

Can we somehow keep the knowledge that it is a zero-extended 32-bit value?
It is useful for encoding purpose.



More information about the Gcc-bugs mailing list