OSDN Git Service

Fix PR c++/42697
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Apr 2010 15:16:12 +0000 (15:16 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:17:27 +0000 (14:17 +0900)
commitbf0d363bb0c0e1488d81ef5fd9b1dd022fb93404
treefc241627ef13a2828ce2f5c828916834c290b684
parent511be19ec571c806f22b13c8d33ae021d44d3a7d
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158068 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog