https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81180
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Jun 29 21:32:20 2017 New Revision: 249817 URL: https://gcc.gnu.org/viewcvs?rev=249817&root=gcc&view=rev Log: PR c++/81180 - ICE with C++17 deduction of member class template. * pt.c (build_deduction_guide): Correct member template handling. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/class-deduction40.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/pt.c