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 00:49:34 +0000 (09:49 +0900)
commit103883f0f1eefadcb1e39ce483a4612db89ebeba
treed6ec5f61f1072c327436d8fecbf70a4c5f12cdbd
parent7c0fa18b3e625a922fac403ab066940f3c13706a
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/cp/pt.c
gcc/testsuite/ChangeLog