https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122272
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=106688
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
99% sure this is a dup of bug 106688. The number of extra moves is fixed with
-fno-tree-coalesce-vars even.
Basically out of ssa sometimes with coalescing turned on will chose the wrong
coalescing and that causes extra moves for returns.