https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114122
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Note it's always difficult if you rely on argument passing / return that is outside of the ABI specification for the platform so I'd advise against such interfaces. Instead I'd suggest to go with by-referenece argument/return.