This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57728] Explicit template instantiation with defaulted method causes missing symbol
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Aug 2016 15:11:22 +0000
- Subject: [Bug c++/57728] Explicit template instantiation with defaulted method causes missing symbol
- Auto-submitted: auto-generated
- References: <bug-57728-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57728
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Aug 26 15:10:51 2016
New Revision: 239782
URL: https://gcc.gnu.org/viewcvs?rev=239782&root=gcc&view=rev
Log:
PR c++/57728 - explicit instantiation and defaulted functions
* pt.c (do_type_instantiation): Don't mess with non-user-provided
member functions.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/explicit11.C
trunk/gcc/testsuite/g++.dg/cpp0x/explicit12.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/pt.c