init.c (resolve_offset_ref): Don't return a raw method.
authorJason Merrill <jason@yorick.cygnus.com>
Fri, 7 May 1999 09:47:57 +0000 (09:47 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 7 May 1999 09:47:57 +0000 (05:47 -0400)
commita359be75cff137ccce9f963891625ac07a79890c
tree470f7f0e86034b584dc4f06cb1bc67a8ba0227ac
parent475836b16f4525a91731ab928385389464675c0e
init.c (resolve_offset_ref): Don't return a raw method.

* init.c (resolve_offset_ref): Don't return a raw method.
Use BASELINK_P.
* typeck.c (decay_conversion): Don't handle a raw method.
Resolve all OFFSET_REFs.
(get_member_function_from_ptrfunc): 0 is a valid vtable index.
(build_binary_op_nodefault): Handle resolving overloaded fns.  Use
same_type_p for pmf bits.  Don't use build_binary_op to compare
raw pointers to methods.
(convert_for_assignment): Check for OFFSET_REF, not OFFSET_TYPE,
to decide when to call resolve_offset_ref.
(build_c_cast, convert_for_initialization): Likewise.
* cvt.c (build_expr_type_conversion): Likewise.

From-SVN: r26815
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/cp/init.c
gcc/cp/typeck.c