From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 74DE43858C74; Mon, 8 May 2023 13:54:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74DE43858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683554090; bh=PNfh5PfndKa7yTvetxTpQxaof1YcpBRiP9+sXTMts2o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=idOQ6Sac3QT5WtiLXPAf1Tb+7iQCzhcgugKzV4sR4vg7JPVKbs07zVCv8Fxnql9Fm lAV/93epbEbbgo1/XlJe9v1wOyMsBvmUE+FDqmrLDELmUst5PpzYifixXmVb7nvnF7 rgVb/G/df6x+WRX1Nnjn/6CflgopuLj2nNHiVcfU= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/106075] Wrong DSE with -fnon-call-exceptions Date: Mon, 08 May 2023 13:54:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: EH, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D106075 --- Comment #13 from Richard Biener --- Maybe just setting insn_info->non_frame_wild_read to true will work?=20 add_non_frame_wild_read is odd in that it removes _all_ read records, not only non-frame related ones, same as add_wild_read (but we don't have whether we deal with frame or non-frame mem recorded in read_info_type= ).=