This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Battle of the comptypes (PR c++/35049)


> 2008-02-05  Douglas Gregor  <doug.gregor@gmail.com>
> 
> 	PR c++/35049
> 	* 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.

This breaks objcp bootstrap for me.  You probably forgot to adjust the
objcp front end, did you?

Bye,

-Andreas-


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]