https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114572
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Guess nobody expected copy assignment operator to return something that would need to be destructed in the lastprivate clause handling. Normally copy assignment operators return reference, not the object being modified by value.