https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2017-10-25 00:00:00 |2021-7-20 Target|x86_64-*-*, i?86-*-* |x86_64-*-*, i?86-*-*, | |aarch64-*-* --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- <retval> = moo (); [return slot optimization] [tail call] This is not even done on aarch64 where the two registers are the same.