OSDN Git Service

Patch PR c++/45200
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Sep 2010 18:44:23 +0000 (18:44 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Sep 2010 18:44:23 +0000 (18:44 +0000)
commit04eabee7c415cc7f7e940483d06093920cd97850
tree4632c0080a473a464c988e9d9cf35edb808bb6dc
parente590c2fde4a0cbefcdfb8c5791af5d1ac61c1d02
Patch PR c++/45200

    Fix PR c++/45200, c++/45293, c++/45558

gcc/cp/Changelog:
PR c++/45200
PR c++/45293
PR c++/45558
* tree.c (strip_typedefs): Strip typedefs from the context of
TYPENAME_TYPEs.

gcc/testsuite/ChangeLog:
PR c++/45200
PR c++/45293
PR c++/45558
* g++.dg/template/typedef34.C: New test.
* g++.dg/template/typedef35.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163929 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/typedef34.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/typedef35.C [new file with mode: 0644]