From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35C683858D33; Fri, 3 Mar 2023 06:58:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35C683858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677826716; bh=mt2SxS63Nyxh1ChU6dGCHxxT1IliAOLiRB0cjUUxlJc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cT+XO43545F6jNVAiWoPI5vRtOl5nNTiRi4xLkPDATb8AIe1YWC3V39n4QuZplZ7f tfnpg2Rgg3YiJuyrHvihxa2/WdlUUVaI8qbOGtKv08e9OHOVboMKMIOWwi7R9sZqD1 0X4q9yIw9M4vbWiuf57ydYhhNfzsySFpMeHQ7Lu4= From: "akihiko.odaki at daynix dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109002] -O1 -ftree-pre -ftree-partial-pre results in stall value Date: Fri, 03 Mar 2023 06:58:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akihiko.odaki at daynix dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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=3D109002 --- Comment #2 from Akihiko Odaki --- Oops. Replacing i++ with i =3D !i removes the undefined behavior while the = bug still remains.=