https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89695
Matthijs van Duin <matthijsvanduin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|inappropriate copying of |unexpected copying of |trivially copyable prvalue |trivially copyable prvalue |arguments |arguments --- Comment #2 from Matthijs van Duin <matthijsvanduin at gmail dot com> --- (In reply to Richard Biener from comment #1) > So not really inappropriate but fails to optimize it? Yes. Changing title to avoid implying the copying is not permitted.