OSDN Git Service

Fix PR c++/43953
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 09:49:45 +0000 (09:49 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:58:20 +0000 (13:58 +0900)
commit5e856ab91bec99d1b5b90325253d2ce5155c6ef4
tree31b255e99ecb4ecc32de2a377b8303c5f715da0b
parentf73f2c3751e541d380efeb0469880229500f0170
Fix PR c++/43953

gcc/cp/ChangeLog:
PR c++/43953
* pt.c (most_specialized_class): Pretend we are processing
a template decl during the call to coerce_template_parms.

gcc/testsuite/ChangeLog:
PR c++/43953
* g++.dg/other/crash-12.C: New test.

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