From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BDCA43858C50; Wed, 10 Apr 2024 13:24:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BDCA43858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712755441; bh=2XRrTFEdcrhiIDxd6eD31xbWg2WtlRkixiySeBYYWso=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qwSQFmBFdrFNO4sw2ZaiGB6fedk0yM0eYEw+TtYZQMWBvxDR+FLyw6m7PGIFQ1CeX GdNaJwAzJU3LR8Mvrb9QTFp0e6O0SEM6oyJjw+d0yoqzDkjsVqpKNViGRJIkMJnWB4 rMOYguun1/w/2NUq7KkpsZFyprN6JsK3578D3UoA= From: "nshead at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114600] [14 Regression] [modules] redefinition errors when using certain std headers in GMF Date: Wed, 10 Apr 2024 13:24:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: nshead at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114600 --- Comment #6 from Nathaniel Shead --- (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 thou= gh; > > 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 so= me 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.=