From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 65DAC3854569; Wed, 23 Nov 2022 13:44:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 65DAC3854569 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669211068; bh=EnflEgux0lqRfVWePVJbtCmfvJEIHVu8fGR1aHsFcvQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SHLbcUjdBFfQlwT+YcIzAAGKdcNlWIZsPok/hvrUrHgLLPEph2aPovaki13ZHTfQA pl52QfbiCv0QlB4Rp4lJYN1K1mGJhKothBtKE6dSUJk58DtqDlz0QbWJVcO2AThqf6 ghFTTNxZoHs3w2j26m9e0oU+q6xx+e14GcNKtECs= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/107722] [13 Regression] Bootstrap failure for some locales starting with r13-4070 Date: Wed, 23 Nov 2022 13:44:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.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=3D107722 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d601708870ad8dc3ef935e440bf03394891d42e2 commit r13-4265-gd601708870ad8dc3ef935e440bf03394891d42e2 Author: Jakub Jelinek Date: Wed Nov 23 14:43:48 2022 +0100 diagnostics: Fix selftest ICE in certain locales [PR107722] As reported in the PR, since special_fname_builtin () call has been introduced, the diagnostics code compares filename against _("") rather than "", which means that if self tests are performed with the string being translated, one self-test fails. The following patch fixes that. 2022-11-23 Jakub Jelinek PR bootstrap/107722 * diagnostic.cc (test_diagnostic_get_location_text): Test special_fname_builtin () rather than "" and expect special_fname_builtin () concatenated with ":" for it.=