(build_opfncall): Use DECL_CHAIN, not TREE_CHAIN for results from lookup_fnfields.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 23 Jun 1995 02:38:00 +0000 (22:38 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 23 Jun 1995 02:38:00 +0000 (22:38 -0400)
commite1b7b0cb2e688fac7793af38a4d805a13e36056b
tree3dd7e0c44a9ce44749bd48c9f016aa17f16d70a3
parent46b49f6ce93f745f05bbb4cba71e736708dc590c
(build_opfncall): Use DECL_CHAIN, not TREE_CHAIN for results from lookup_fnfields.

(build_opfncall): Use DECL_CHAIN, not TREE_CHAIN for results from
lookup_fnfields.  Always give warning/error on bad code.
(build_overload_int): New routine.  Break out functionality from
build_overload_value so we can reuse it.
(build_overload_value): Handle pointer to member functions as value parameters
for templates.
(build_overload_identifier): Since template parameters are shared
among all instantiations, we have to substitute in the real types in
TREE_TYPE (parm).

From-SVN: r10045
gcc/cp/method.c