PR c++/85739 - ICE with pointer to member template parm.
authorJason Merrill <jason@redhat.com>
Sun, 3 Jun 2018 12:37:03 +0000 (08:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 3 Jun 2018 12:37:03 +0000 (08:37 -0400)
commitc5f50290c75bb22dc4458f4cc88c8b03c22640ca
tree803bf5b802bf5e557b91ef68a3dee68099ddd34e
parentc14add82fa4ec24a09e48d56094d9f46310f0809
PR c++/85739 - ICE with pointer to member template parm.

* cvt.c (perform_qualification_conversions): Use cp_fold_convert.

From-SVN: r261129
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/testsuite/g++.dg/template/ptrmem32.C [new file with mode: 0644]