https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81248
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |jamborm at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I think that's because of the constructors which means GCC can't really introduce the required copy for the by value passing. -> C++ FE if A shouldn't be TREE_ADDRESSABLE (I think with defaulted copy constructor it should stay a "POD"?)