OSDN Git Service

Fix for PR c++/43327
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Mar 2010 09:20:58 +0000 (09:20 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:14:50 +0000 (14:14 +0900)
commit31d3381cddaf2dcae32e53fb51604a77508057b0
tree98d7e2c433109d5a96ebab15e9129474b34962ce
parent896632650c63902cca944c3d8bd6f1c127eed117
Fix for PR c++/43327

gcc/cp/ChangeLog:
PR c++/43327
* pt.c (add_to_template_args): Support NULL ARGS;
(most_specialized_class): call coerce_template_parms on
template arguments passed to get_class_bindings. Use
add_to_template_args.
(unify): Handle VAR_DECLs.

gcc/testsuite/ChangeLog:
PR c++/43327
* g++.dg/other/crash-10.C: New test.
* g++.dg/other/crash-11.C: New test.

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