diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-26 15:10:51 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-26 15:10:51 +0000 |
commit | cab31f1cbd5453488632fe2a4383f50bd47a100d (patch) | |
tree | fbf8cca60d7fea7d7d76ac821515aed3cf1cba36 /gcc/cp/class.c | |
parent | 0cdb31d75fa6a93fc840a09092c8fb9be1121f3f (diff) |
PR c++/57728 - explicit instantiation and defaulted functions
* pt.c (do_type_instantiation): Don't mess with non-user-provided
member functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239782 138bc75d-0d04-0410-961f-82ee72b054a4
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 3ad1b8910fc..20689e4dd06 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) |