https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110459

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Also on x86_64 I see DECL_ALIGN getting in the way of NRV as we seem to up
alignment on locals aggressively but DECL_RETURN stays at what the ABI
mandates.  Of course in this case !aggregate_value_p (result,
current_function_decl) anyway, still this extra copy could be elided IMHO.

Usually this is the job of SRA.

We also perform some of this coalescing in the frontend/gimplifier IIRC,
not sure what prevents it here.

Reply via email to