https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Sun Jun 3 20:01:37 2018 New Revision: 261132 URL: https://gcc.gnu.org/viewcvs?rev=261132&root=gcc&view=rev Log: PR c++/85739 - ICE with pointer to member template parm. * cvt.c (perform_qualification_conversions): Use cp_fold_convert. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/template/ptrmem32.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/cvt.c