re PR c++/35282 (Template specialization rejected)
authorPaolo Carlini <pcarlini@suse.de>
Fri, 22 Feb 2008 11:02:00 +0000 (11:02 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 22 Feb 2008 11:02:00 +0000 (11:02 +0000)
commit54062fc0da3a1009eb0f53e899fb44d8b7b4a177
treefb823f930efc33f1a9a8d837229a9125f51c63f5
parent4af63337bebe68e3010849286d45a0341dbb1081
re PR c++/35282 (Template specialization rejected)

/testsuite
2008-02-22  Paolo Carlini  <pcarlini@suse.de>

PR c++/35282
* g++.dg/template/nontype17.C: Add.

/cp
2008-02-22  Paolo Carlini  <pcarlini@suse.de>

PR c++/35282
Revert:
2008-02-14  Paolo Carlini  <pcarlini@suse.de>

        PR c++/28743
        * pt.c (determine_specialization): In case of function templates,
when the type of DECL does not match FN there is no match.

/testsuite
2008-02-22  Paolo Carlini  <pcarlini@suse.de>

PR c++/35282
Revert:
2008-02-14  Paolo Carlini  <pcarlini@suse.de>

        PR c++/28743
* g++.dg/template/nontype17.C: New.
        * g++.dg/template/nontype16.C: Add error.

From-SVN: r132543
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/nontype16.C
gcc/testsuite/g++.dg/template/nontype17.C