cp:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Mar 2008 11:47:20 +0000 (11:47 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Mar 2008 11:47:20 +0000 (11:47 +0000)
commita09db423542b42f5c0eb4b4937e071a8a8af3b85
tree8cc35bd53af5f9634b1ff4aba1a8fca93de14f26
parentf1f58fb1f71e9e0dc53701b25dc3ff0911b84b93
cp:
2008-03-07  Paolo Bonzini  <bonzini@gnu.org>

Revert:

2008-02-06  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/35049
PR c++/35096
* typeck.c (structural_comptypes): Call cp_comptypes.
(comptypes): New; called from the C/C++ common bits to perform
strict checks.
(cp_comptypes): Renamed from comptypes, which is already used,
with a different signature, by the C++ front end.
(build_reinterpret_cast_1): Call cp_comptypes.
(ptr_reasonably_similar): Ditto.
* decl.c (decls_match): Ditto.
* cvt.c (convert_to_reference): Ditto.
* cp-tree.h (same_type_p): Ditto.
(same_or_base_type_p): Ditto.
(comptypes): Rename to cp_comptypes.
* pt.c (canonical_type_parameter): Call cp_comptypes.

objcp:
2008-03-07  Paolo Bonzini  <bonzini@gnu.org>

Revert:

2008-02-07  Andreas Tobler  <andreast-list@fgznet.ch>
            Douglas Gregor  <doug.gregor@gmail.com>

PR bootstrap/35115
* objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133007 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/objcp/ChangeLog
gcc/objcp/objcp-decl.c