https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114600

--- Comment #6 from Nathaniel Shead <nshead at gcc dot gnu.org> ---
(In reply to Patrick Palka from comment #5)
> (In reply to Nathaniel Shead from comment #4)
> > I'm not yet sure exactly why my patch caused this to start failing though;
> > it sounds like it's exporting some using-decls even though they aren't
> > directly exported, which I suppose is still a bug in its own right.
> Hmm, should the check added to add_binding_entity
>   flags & (WMB_Using | WMB_Export)
> instead be
>   (flags & WMB_Using) && (flags & WMB_Export)
> ?

Right, of course, thanks.  This fixes this issue, but while constructing some
test cases I've found a number of other issues with exported using-decls.  I'll
submit a patch series hopefully soonish to fix the issues I can.

Reply via email to