OSDN Git Service

* decl.c (duplicate_decls): Use same_type_p.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Mar 1999 01:29:36 +0000 (01:29 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Mar 1999 01:29:36 +0000 (01:29 +0000)
commit4d9c8e11e1482fb3308861e26bd39d5718c15a8d
tree45e7638ad30668c4227f064885621d3e26c31758
parent6ccec7e95d408cd9647aa7e87138ab9d833685e6
* decl.c (duplicate_decls): Use same_type_p.
* method.c (try_old_backref): Renamed from flush_repeats.  Use
same_type_p.  Don't try to handle repeats.  Return success.
(is_back_referenceable_type): Return 0 if TYPE_FOR_JAVA.  Support
calls from old-style code, too.
(check_ktype): Use same_type_p.
(check_btype): Use same_type_p.  Don't pull out TYPE_MAIN_VARIANT.
(build_qualified_name): Simplify logic.
(build_mangled_name_for_type_with_Gcode): Remove call to
type_canonical_variant.
(process_overload_item): Strip typedefs and quals at the top.
(build_mangled_name): Likewise.  Remove support for old-style
repeats, which have been disabled since 2.7.2.  Don't mess with
TREE_USED.
(build_decl_overload_real): Don't mess with TREE_USED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25758 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/method.c