OSDN Git Service

cp:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2003 08:38:44 +0000 (08:38 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2003 08:38:44 +0000 (08:38 +0000)
commitc4cf31e6dc33a27e8b909ddd4f2b98e6c64eaf55
tree0f5cce31b1086b96c55db1488aad78c82b94fc6c
parentb6691ff531407c42879b1ee52cab64c2c91f6b4b
cp:
PR c++/11922
* pt.c (tsubst_qualified_id): Make sure we get a non-type.
(tsubst_expr, tsubst_copy_and_build): Pass false, not zero, as
is_type_p to lookup_qualified_name.

* semantics.c (finish_call_expr): Refactor some code.
testsuite:
PR c++/11922
* g++/dg/template/qualified-id1.C: New test.

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