https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89212
--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Tue Feb 26 18:00:41 2019 New Revision: 269222 URL: https://gcc.gnu.org/viewcvs?rev=269222&root=gcc&view=rev Log: PR c++/89212 - ICE converting nullptr to pointer-to-member-function. * pt.c (tsubst_copy_and_build) <case CONSTRUCTOR>: Return early for null member pointer value. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/nullptr40.C branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/nullptr41.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/pt.c