https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86277
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikael at gcc dot gnu.org
--- Comment #9 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to anlauf from comment #8)
>
> I haven't understood yet how (and why) temporaries are generated for
> procedure arguments even when it is known at compile-time that these have
> size zero. I'd appreciate input from others.
I think temporaries in this case come from the scalarizer, which is known to
generate superfluous temporaries with array constructors. See
trans_array_constructor.