------- Comment #5 from bonzini at gnu dot org 2008-03-07 11:48 ------- Subject: Bug 35115
Author: bonzini Date: Fri Mar 7 11:47:20 2008 New Revision: 133007 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133007 Log: cp: 2008-03-07 Paolo Bonzini <[EMAIL PROTECTED]> Revert: 2008-02-06 Douglas Gregor <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> Revert: 2008-02-07 Andreas Tobler <[EMAIL PROTECTED]> Douglas Gregor <[EMAIL PROTECTED]> PR bootstrap/35115 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/cvt.c trunk/gcc/cp/decl.c trunk/gcc/cp/pt.c trunk/gcc/cp/typeck.c trunk/gcc/objcp/ChangeLog trunk/gcc/objcp/objcp-decl.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35115