https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63692
--- Comment #3 from Gonzalez Pedro <gonzalez.rulez at gmail dot com> --- Ok. We are affected by this in the debug builds which are built without any optimizations. Reviewing -O2 options I didn't find an option, which enables or disables reuse of temp object space. Is there one? P.S. On the other hand this is not an issue with POD types.