r155975 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
dodji@gcc.gnu.org
dodji@gcc.gnu.org
Sun Jan 17 10:24:00 GMT 2010
Author: dodji
Date: Sun Jan 17 10:24:16 2010
New Revision: 155975
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155975
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
More information about the Gcc-cvs
mailing list