[Bug other/50582] Instruct GCC that added_clobbers_hard_reg_p shouldn't consider a specific register

Paulo.Matos at csr dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 5 10:53:00 GMT 2011


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

--- Comment #3 from Paulo J. Matos <Paulo.Matos at csr dot com> 2011-10-05 10:53:06 UTC ---
Created attachment 25420
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25420
Allows reload to remove trivial insn

I noticed that reload was failing to remove insn of the form:
(parallel [(set rX rX) (clobber RCC)])

Attached is a patch that does this. Removes move instructions whose clobber,
clobbers registers defined in NOT_REALLY_HARD_REG.



More information about the Gcc-bugs mailing list