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] vfunc overrider simplification


On Sat, Aug 24, 2019 at 6:43 PM Nathan Sidwell <nathan@acm.org> wrote:

> On 8/23/19 3:24 PM, Nathan Sidwell wrote:
> > In fixing a vfunc override bug on the modules branch, I noticed that
> > check_for_override can simply check IDENTIFIER_VIRTUAL_P -- the dtor
> > identifier and those for conversion operators will have it set
> > correctly.  (there a multiple conversion operator identifiers, but we
> > can only be overriding the one with the same return type, so that's
> fine.)
>
> that turns out to be untrue -- the conversion operator table
> distinguishes between different typedefs of the same type.


Hmm, that seems like a bug.

Jason


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