projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
010ff25
)
* pt.c (instantiate_decl): Any defaulted function is defined.
author
Jason Merrill
<jason@redhat.com>
Fri, 1 Jun 2018 20:49:27 +0000
(16:49 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Fri, 1 Jun 2018 20:49:27 +0000
(16:49 -0400)
From-SVN: r261084
gcc/cp/ChangeLog
patch
|
blob
|
history
gcc/cp/pt.c
patch
|
blob
|
history
diff --git
a/gcc/cp/ChangeLog
b/gcc/cp/ChangeLog
index 434fde6ae593ae82339ac9a87ceac25c8a24f63b..220b80b4098a7a938a33d6cbab5c58f10b015cd6 100644
(file)
--- a/
gcc/cp/ChangeLog
+++ b/
gcc/cp/ChangeLog
@@
-1,3
+1,7
@@
+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
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index d0fc9ee51a50e47794865b8f4489fa62d5b62836..b97cd3013be7a8848e104c5a15c57f9d1125fba6 100644
(file)
--- a/
gcc/cp/pt.c
+++ b/
gcc/cp/pt.c
@@
-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