re PR c++/7964 (ICE in build_base_path)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 24 Dec 2002 22:20:14 +0000 (22:20 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 24 Dec 2002 22:20:14 +0000 (22:20 +0000)
commit3e14cd301c63f11b8ee5b7055533c7b745ac9ae1
tree50e134b5d0d63ecf9502274ffa30654188d1e851
parentb9201622aed326ee95c8023c8bc697d8adf443ff
re PR c++/7964 (ICE in build_base_path)

cp:
PR C++/7964
* cp-tree.h (resolve_scoped_fn_name): Prototype.
* call.c (resolve_scoped_fn_name): New function. Deal with
more template expansion. Broken out of ...
* parse.y (parse_finish_call_expr): ... here. Call it.
* decl2.c (build_expr_from_tree, CALL_EXPR): Use
resolve_scoped_fn_name and build_call_from_tree.
testsuite:
* g++.dg/lookup/scoped3.C: New test.

From-SVN: r60483
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/parse.y
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/scoped3.C [new file with mode: 0644]