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)


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


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