From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70C7F3858C54; Sat, 8 Jul 2023 17:16:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70C7F3858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688836567; bh=4KyeiKHiAGcZpWvh3TtXLXFVjKoEx51Wd4lUAKqcBU8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=atv5I1avTFhX3XYXOtG5FPyNca4W8E7Txx4njm3G0NAPDOR3dxcm3E5i/8mw8SN6w 7HsBC9jWOLZulYQ2sM13J55rZHx7PkLFrpZmXZisnbMKcCLjdTVLMDY5IVTOyMIs2C jMEHoiOvF/mvthyDxJat1VHb+F4TsivlT0FjxKIE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110599] wrong code at -Os and above with "-fno-tree-forwprop -fno-tree-fre" on x86_64-linux-gnu Date: Sat, 08 Jul 2023 17:16:07 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: bug_status resolution 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=3D110599 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Andrew Pinski --- Same problem as PR 110252 so dup. phiopt match-simplify trying: _2 !=3D _5 ? 1 : _15 Matching expression match.pd:1991, gimple-match-5.cc:23 Matching expression match.pd:1991, gimple-match-5.cc:23 Matching expression match.pd:2480, gimple-match-4.cc:35 Matching expression match.pd:2483, gimple-match-3.cc:66 Applying pattern match.pd:4763, gimple-match-7.cc:16232 Folded into the sequence: _14 =3D _2 !=3D _5; _8 =3D (int) _14; _7 =3D _8 | _15; statement un-sinked: _15 =3D _2; Removing basic block 3 ;; basic block 3, loop depth 0 ;; pred: 2 ;; succ: 4 # RANGE [irange] int [0, 1] MASK 0x1 VALUE 0x0 _15 =3D _2; *** This bug has been marked as a duplicate of bug 110252 ***=