Commit 9760467e by Jason Merrill Committed by Jason Merrill

* pt.c (instantiate_decl): Any defaulted function is defined.

From-SVN: r261084
parent 010ff25b
2018-05-31 Jason Merrill <jason@redhat.com>
* pt.c (instantiate_decl): Any defaulted function is defined.
2018-05-30 Jonathan Wakely <jwakely@redhat.com>
PR c++/77777
......
......@@ -23748,7 +23748,7 @@ instantiate_decl (tree d, bool defer_ok, bool expl_inst_class_mem_p)
deleted_p = DECL_DELETED_FN (code_pattern);
pattern_defined = ((DECL_SAVED_TREE (code_pattern) != NULL_TREE
&& DECL_INITIAL (code_pattern) != error_mark_node)
|| DECL_DEFAULTED_OUTSIDE_CLASS_P (code_pattern)
|| DECL_DEFAULTED_FN (code_pattern)
|| deleted_p);
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment