http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56247
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-09 20:47:31 UTC --- Author: jason Date: Sat Feb 9 20:47:24 2013 New Revision: 195923 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195923 Log: PR c++/56247 * pt.c (eq_specializations): Set comparing_specializations. * tree.c (cp_tree_equal): Check it. * cp-tree.h: Declare it. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/ptrmem23.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/cp-tree.h branches/gcc-4_7-branch/gcc/cp/pt.c branches/gcc-4_7-branch/gcc/cp/tree.c