https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85843
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon May 21 03:53:00 2018 New Revision: 260432 URL: https://gcc.gnu.org/viewcvs?rev=260432&root=gcc&view=rev Log: PR libstdc++/85843 - warning in logic_error copy constructor. * class.c (type_has_user_nondefault_constructor): Check for a user-provided ctor, not user-declared. Added: trunk/gcc/testsuite/g++.dg/warn/Wextra-4.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/class.c