diff options
author | Jason Merrill <jason@redhat.com> | 2016-08-26 11:10:51 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-08-26 11:10:51 -0400 |
commit | 9729a5d5241257d07aa2a9c2fa6c3abbd73e25e5 (patch) | |
tree | fbf8cca60d7fea7d7d76ac821515aed3cf1cba36 /gcc/cp/class.c | |
parent | 10491e4c0450dc8e01ed9bec6db061c34a352781 (diff) | |
download | gcc-9729a5d5241257d07aa2a9c2fa6c3abbd73e25e5.zip gcc-9729a5d5241257d07aa2a9c2fa6c3abbd73e25e5.tar.gz gcc-9729a5d5241257d07aa2a9c2fa6c3abbd73e25e5.tar.bz2 |
PR c++/57728 - explicit instantiation and defaulted functions
* pt.c (do_type_instantiation): Don't mess with non-user-provided
member functions.
From-SVN: r239782
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 3ad1b89..20689e4 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -5186,8 +5186,7 @@ in_class_defaulted_default_constructor (tree t) } /* Returns true iff FN is a user-provided function, i.e. user-declared - and not defaulted at its first declaration; or explicit, private, - protected, or non-const. */ + and not defaulted at its first declaration. */ bool user_provided_p (tree fn) |