------- Comment #5 from dodji at gcc dot gnu dot org  2010-01-17 10:24 -------
Subject: Bug 42697

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


-- 


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

Reply via email to