This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Battle of the comptypes (PR c++/35049)
- From: "Andreas Krebbel" <Andreas dot Krebbel at de dot ibm dot com>
- To: Doug Gregor <doug dot gregor at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 7 Feb 2008 19:52:55 +0100
- Subject: Re: [C++ PATCH] Battle of the comptypes (PR c++/35049)
- References: <24b520d20802050952v3e7ea05cn3d1b76fc188b5f89@mail.gmail.com>
> 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-