https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671
--- Comment #22 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- (In reply to Jakub Jelinek from comment #20) > which fails also on x86_64-linux at -O2. And that testcase regressed with > r223126. Now whether this is valid C++, no idea, placement new is messy. This test case can't be valid, suppose the A has a copy constructor that that is also not called when B is moved around.