From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 318993858D33; Thu, 23 May 2024 13:39:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 318993858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716471569; bh=zUJ4AHiouchJMu2a0zR7AScN8R7Sp+E8hCAj5ZGAyH4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=INOYb4IeRuizOnKUvYjqy7sOlGuhQPvqqE+3qJ8rel25HP4/SzsVj6QvChs4dx/zX mn3ug280LqTIPsWYnr4riAt74AWf96SFlO2gS11ZMF1vHRxhlmzblmMlOxYJNnpCrj oY4YD/ZBzS3cRETd5sLhPcEckEBD4+egGAUfqBZk= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/115203] [15 Regression] Build fail with non LANG=C in analyzer self test: ICE in fail_formatted at selftest.cc:63 / tree-diagnostic-path.cc:2158: test_control_flow_5: FAIL: ASSERT_STREQ Date: Thu, 23 May 2024 13:39:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 15.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed bug_status cf_reconfirmed_on 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=3D115203 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2024-05-23 --- Comment #1 from David Malcolm --- Sorry about this; thanks for reporting it. The translation happens here in simple_diagnostic_path::add_event: 2583 text_info ti (_(fmt), &ap, 0, nullptr, &rich_loc); ^^^^^^ There's a chance that simple_diagnostic_path might get used for real purpos= es, rather than just selftests, so maybe we want a flag on the simple_diagnostic_path to suppress translation for events within it (and se= t it for test_diagnostic_path).=