https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112838
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-12-03 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, I thought I had saw an issue filed that is very smilar to this. Note clang provides the context: <source>:5:7: note: in instantiation of member function 'std::vector<std::unique_ptr<int>>::vector' requested here 5 | class NonCopyable | ^ <source>:14:18: note: in implicit copy constructor for 'NonCopyable' first required here 14 | NonCopyable b(a); | ^