init.c (build_offset_ref): Don't call mark_used on an OVERLOAD.
authorJason Merrill <jason@yorick.cygnus.com>
Thu, 16 Jul 1998 17:48:39 +0000 (17:48 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 16 Jul 1998 17:48:39 +0000 (13:48 -0400)
commit1c35f5b6a0b9e6fcc374f2edfb6703503817ce13
treef8158dfa7be88a8b702a464e209aacbb73bc0121
parent52c11ef6a3eb0e205899df0f54c1c41be31c8ae9
init.c (build_offset_ref): Don't call mark_used on an OVERLOAD.

* init.c (build_offset_ref): Don't call mark_used on an OVERLOAD.
* decl.c (select_decl): Extract a lone function from an OVERLOAD.
(lookup_namespace_name): Likewise.
* typeck.c (build_unary_op): Not here anymore.
* decl2.c (do_class_using_decl): Make sure we get an identifier.
* class.c (handle_using_decl): Ignore TYPE_DECLs.

From-SVN: r21219
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/init.c
gcc/cp/typeck.c