From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9E2DF385843A; Mon, 27 Sep 2021 23:24:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E2DF385843A From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/102499] [12 Regression] Noexcept not matching for std::filesystem::path. Compilation fails for clang Date: Mon, 27 Sep 2021 23:24:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2021 23:24:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102499 --- Comment #2 from cqwrteur --- (In reply to cqwrteur from comment #1) > noexcept is missing for begin() end(). That leads to problem that breaks > clang. >=20 > I manually modify the header file and it works. https://github.com/gcc-mirror/gcc/commit/42eff613d0c10f88dc7a44b14981876401= a09981#diff-8cb9eb19d74e89b3acffd1a56c8bf7ca102f342b3b18134bba7729e343bdbce9 It looks like this cleanup patch has some issues. Probably need a new test = file for clang.=