https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92287
Jozef Lawrynowicz <jozefl.gcc at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jozefl.gcc at gmail dot com
--- Comment #1 from Jozef Lawrynowicz <jozefl.gcc at gmail dot com> ---
I can only speak for msp430, but there's no problem with that generated
assembly. Structures and unions are always passed by reference.
R12:R15 are the argument registers, and the return value starts in R12.