https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79796
--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Tue Mar 7 17:42:30 2017 New Revision: 245957 URL: https://gcc.gnu.org/viewcvs?rev=245957&root=gcc&view=rev Log: PR c++/79796 - ICE with NSDMI and this pointer * call.c (build_over_call): Handle NSDMI with a 'this' by calling replace_placeholders. * g++.dg/cpp0x/nsdmi13.C: New test. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/nsdmi13.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/call.c branches/gcc-6-branch/gcc/testsuite/ChangeLog