PR c++/79500 - ICE with non-template deduction guide
authorJason Merrill <jason@redhat.com>
Mon, 20 Feb 2017 06:05:31 +0000 (01:05 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 Feb 2017 06:05:31 +0000 (01:05 -0500)
commitcfb825648d585d15149c8e7658757ae9fc402b33
tree47d52e084f4736321576be3da9949242fb10eef6
parentde59c92b44f5e67a90268e2d0f6f3efd6c8e3354
PR c++/79500 - ICE with non-template deduction guide

* pt.c (do_class_deduction): Use STRIP_TEMPLATE rather than
DECL_TEMPLATE_RESULT.

From-SVN: r245588
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/class-deduction29.C [new file with mode: 0644]