https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82899
--- Comment #9 from Antony Polukhin <antoshkka at gmail dot com> --- There's an identical issue for clang: https://bugs.llvm.org/show_bug.cgi?id=37329 During review of that issue Richard Smith noted that the solution could be made more generic by adding `__restrict` for `this` for any constructor (not just copy and move constructors). Does the violation of noalias in GCC could be treated as unspecified behavior or is it undefined?