init.c (build_offset_ref): Wrap baselinks in OFFSET_REF, too.
authorJason Merrill <jason@yorick.cygnus.com>
Mon, 10 May 1999 12:12:58 +0000 (12:12 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 10 May 1999 12:12:58 +0000 (08:12 -0400)
commit05e0b2f47cf953ec7db7d9dede697420c9e48748
tree4c4c13cc516a94f39270103f3ada6235e9817a60
parent0ca40216d79d8b9bcf03e9c51d00357621750781
init.c (build_offset_ref): Wrap baselinks in OFFSET_REF, too.

* init.c (build_offset_ref): Wrap baselinks in OFFSET_REF, too.
Don't bother wrapping an OFFSET_TYPE around unknown_type_node.
(resolve_offset_ref): Don't handle a raw baselink.
* cvt.c (build_expr_type_conversion): Likewise.
* typeck.c (decay_conversion, build_c_cast, convert_for_assignment,
convert_for_initialization): Likewise.
* class.c (instantiate_type): Handle seeing a baselink under an
OFFSET_REF.
* error.c (dump_expr): Likewise.
* pt.c (for_each_template_parm): Likewise.
(resolve_overloaded_unification): Likewise.
* tree.c (is_overloaded_fn, really_overloaded_fn): Likewise.
* typeck.c (expr_sizeof): Also complain about other permutations
of overloaded functions.

From-SVN: r26861
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cvt.c
gcc/cp/decl2.c
gcc/cp/error.c
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/cp/typeck.c