re PR c++/50870 ([C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and...
authorJason Merrill <jason@redhat.com>
Mon, 7 Nov 2011 22:52:23 +0000 (17:52 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 7 Nov 2011 22:52:23 +0000 (17:52 -0500)
commitb2b5f337dc066ab64e5a165779146494dfb8fde0
tree5f957e9d1036ce9917c31a1750fd244222445c55
parent48d8dd06b0427394bbf678b283354fa27be8dce1
re PR c++/50870 ([C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments)

PR c++/50870
* pt.c (tsubst_copy): Handle NAMESPACE_DECL.
(tsubst_copy_and_build) [COMPONENT_REF]: Handle a still-dependent
object.

From-SVN: r181131
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype35.C [new file with mode: 0644]