Adjust C++17 class deduction use of DECL_ABSTRACT_ORIGIN.
commit5164d9e94ea19d81ff895f353f37d982ebfc699e
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2017 19:40:32 +0000 (29 19:40 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2017 19:40:32 +0000 (29 19:40 +0000)
tree323df1dad5e1d69c5816385c22bea03298130eac
parentd90b17679aa007790b0f6606d5cd84f7b07a082f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251425 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c