Adjust C++17 class deduction use of DECL_ABSTRACT_ORIGIN.
authorJason Merrill <jason@redhat.com>
Tue, 29 Aug 2017 19:40:32 +0000 (15:40 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 29 Aug 2017 19:40:32 +0000 (15:40 -0400)
commit4cc20315a7e67b6ebbdbfbb736122476bf28f041
tree323df1dad5e1d69c5816385c22bea03298130eac
parent82b0ce2eb32bea3d6e35609d1806ba332576826d
Adjust C++17 class deduction use of DECL_ABSTRACT_ORIGIN.

* pt.c (build_deduction_guide): Set DECL_ABSTRACT_ORIGIN on the
template, not the function.
(template_guide_p): Adjust.

From-SVN: r251425
gcc/cp/ChangeLog
gcc/cp/pt.c