https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81953
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2017-08-23 Summary|Code sinking results in |Code sinking increases |increased use of callee |register pressure |saved registers | Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Part of it is ter. We should have a simple code motion pass (schedule) that happens right before expand that reduces register pressure. I think there are other bug reports about TER interaction and register pressure too.