https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89533
--- Comment #1 from Alexey Kutumov <alexey.kutumov at gmail dot com> --- Hi, FYI, i`ve filed same bug to clang`s bugzilla: https://bugs.llvm.org/show_bug.cgi?id=40896 There is a comment from clang bug: Richard Smith 2019-03-01 21:13:38 PST I would consider this to be both a Clang bug and a bug in the standard's wording. I think it's clear that we should be considering whether the copy constructor throws as well as whether the assignment operator throws.