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

Doug Gregor doug.gregor@gmail.com
Thu Feb 7 19:06:00 GMT 2008


On Feb 7, 2008 1:52 PM, Andreas Krebbel <Andreas.Krebbel@de.ibm.com> wrote:
> > 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?

Yes, I did. I've just committed Andreas Tobler's patch to clear this
bootstrap issue with Objective-C++, and submitted a patch for the
issue with g++.dg/ext/vector13.C

  - Doug



More information about the Gcc-patches mailing list