From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C7D6B385842B; Fri, 22 Mar 2024 16:52:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7D6B385842B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711126354; bh=RQsEnoVb3/HKvXMfzT8+BcE0x/fNdGy9VbgxXrG5q1Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jQasOQO31FsSvxG4GvWZ7QiaPu9kJPjfZDpMcGTjz70yKi79Qg0uxdP0znOuR+67K SOiObmcDwm9Bx+fnmXCrg+rGhD5ln3ulPvmaLojWaoJVYHKwz3JZHXTZ/lcCthiHPn 15juwch5a7iPF6ehaIrRQJTbE0yY6EzGQimyQYK8= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/114408] [13/14 Regression] ICE when invoking strcmp multiple times with -fsanitize=undefined -O1 -fanalyzer -flto Date: Fri, 22 Mar 2024 16:52:34 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, link-failure, lto, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D114408 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- (In reply to David Malcolm from comment #2) > However I'm having trouble writing a regression test for this, with the > combination of ubsan and lto: I get: >=20 > output is /usr/bin/ld: cannot find -lubsan > collect2: error: ld returned 1 exit status The test would need to go into gcc.dg/ubsan/ directory (or g++.dg/ubsan/ for C++), that is where the *.exp files arrange for -lubsan to be found. The test would of course then need to use analyzer effective target in it a= nd add whatever dg-options are needed.=