https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71022
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-05-10 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- IRA might choose to do this as part of life-range splitting/shortening. Note that reg-reg moves may be cheaper code-size wise (like on CISC archs with non-fixed insn lengths). RTL cost should tell you, of course.