From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 560B33858D20; Thu, 11 Apr 2024 15:13:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 560B33858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712848438; bh=CaGkVHwaQ6wH3E37h0nqfYLTLd/v9nV24jk8ctsC5os=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wNqKMMA2GqCb9DmSykDZ0ssx4QJGUdOUm7jOHpKiGbLB+T9lcG1XfD28Lddig5a// fPCTk06IzZQa8MWwEcRoxAgOpPnmg7qIVq7rREydcC1/MyGyGS6o4jW7bdCuRHM+yx YEIExIWnP16tqsp2TeqeUcWljyvf7uhOyd6x3Nv0= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/114687] [13/14 Regression] ICE: in edge_before_returns_twice_call, at gimple-iterator.cc:981 Date: Thu, 11 Apr 2024 15:13:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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=3D114687 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #3 from Jakub Jelinek --- Created attachment 57929 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57929&action=3Dedit gcc14-pr114687.patch Untested fix. The tree-cfg.cc verification that ECF_RETURNS_TWICE call is the first in bb appart from labels/debug stmts is keyed on it appearing in = a bb which has abnormal predecessor, this patch guards the code that attempts to maintain that invariant on the same condition.=