[Bug c++/56247] [4.6/4.7/4.8 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:12131

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 9 20:54:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56247

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-09 20:54:05 UTC ---
Author: jason
Date: Sat Feb  9 20:53:59 2013
New Revision: 195924

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195924
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_6-branch/gcc/testsuite/g++.dg/template/ptrmem23.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/cp-tree.h
    branches/gcc-4_6-branch/gcc/cp/pt.c
    branches/gcc-4_6-branch/gcc/cp/tree.c



More information about the Gcc-bugs mailing list