------- Comment #14 from dodji at gcc dot gnu dot org 2010-04-07 15:16 ------- Subject: Bug 42697
Author: dodji Date: Wed Apr 7 15:16:12 2010 New Revision: 158068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158068 Log: Fix PR c++/42697 gcc/cp/ChangeLog: PR c++/42697 *pt.c (tsubst_decl): Get the arguments of a specialization from the specialization template, not from the most general template. gcc/testsuite/ChangeLog: PR c++/42697 * g++.dg/template/crash94.C: New test. Added: trunk/gcc/testsuite/g++.dg/template/crash94.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42697