This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]