PR c++/25364
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2005 20:08:39 +0000 (20:08 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2005 20:08:39 +0000 (20:08 +0000)
commit528638c99606910989604afac6fe18b892a99887
tree1c84532597b27832609a1b150445d869ef301367
parent3c6185f10bc7c62bb4ae6aa879b37a30e8a4cb58
PR c++/25364
* typeck.c (build_unary_op): Pass DECLs not names to
build_offset_refs.
* init.c (build_offset_ref): Do not do name lookup.  Do not call
mark_used.
* call.c (build_call): Simplify and tidy.
* semantics.c (finish_qualified_id_expr): Call mark_used.
PR c++/25364
* g++.dg/template/call4.C: New test.

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