PR libstdc++/85843 - warning in logic_error copy constructor.
authorJason Merrill <jason@redhat.com>
Mon, 21 May 2018 03:53:00 +0000 (23:53 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 21 May 2018 03:53:00 +0000 (23:53 -0400)
commitf3f7cefecc833b4ab652215ceb8b408c21dca225
tree9874a8cafa6b8a4fd4a1ee07f1857b4fc2018925
parent777083bb806dbe31ab97002b7d445191d3ee7a2d
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.

From-SVN: r260432
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/g++.dg/warn/Wextra-4.C [new file with mode: 0644]