]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/17936 (Declaration of specialization rejected)
authorMark Mitchell <mark@codesourcery.com>
Mon, 11 Oct 2004 22:50:00 +0000 (22:50 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 11 Oct 2004 22:50:00 +0000 (22:50 +0000)
commit1ca939e5ec6e33f8016a99ffe673e647a06ed6f3
treeddee84d85b0c562c93b84e29ba7a777a6f54d757
parentf713f2297716abda1bfae1d27c6aedfc7ad37998
re PR c++/17936 (Declaration of specialization rejected)

PR c++/17936
* cp-tree.h (CLASSTYPE_TEMPLATE_SPECIALIZATION): Add a comment.
* pt.c (optimize_specialization_lookup_p): Do not optimize lookups
for members of partial or explicit specializations.

PR c++/17936
* g++.dg/template/spec18.C: New test.

From-SVN: r88905
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/spec18.C [new file with mode: 0644]