OSDN Git Service

Fix PR c++/47172
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Feb 2011 06:50:35 +0000 (06:50 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Feb 2011 06:50:35 +0000 (06:50 +0000)
commitdaf9237ff61f7ac3b33439a1461f857855c0527c
treefc23bb02fc0bc9f23fa148ef548c987aee55d496
parent81f7092bb8ce75416582d69d24af6a288867b886
Fix PR c++/47172

gcc/cp/

PR c++/47172
* pt.c (finish_call_expr): Consider a call expression that has a
dependent "this" pointer as being dependent.  Add comments.
(dependent_type_p, type_dependent_expression_p): Update comments.

gcc/testsuite/

* g++.dg/template/inherit6.C: New test.

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