From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 32F853858D32; Wed, 19 Jul 2023 07:41:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 32F853858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689752474; bh=DQaPnWn9VgqBzpYeAiLk2uiuC25goHl0SSwlYkZ6hp0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=k7H2TAZTirPu/9LRPsKMbgH6f2UF3dGWOmcbMyo1UCo7z60DYP0wCxQDuz4eCDOcn XNNpse7X7HOUUqBJs1Uc1zXPfB0QJr41XkYbL94Ov6xPZn0yM+rpEjPfMVefHOL86Z xG4CZfDXASwc0sDfeJ3fko6gtCl6S9TOxKQUAdHo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/110732] Wrong code at -Os on x86_64-linux-gnu (recent regression) Date: Wed, 19 Jul 2023 07:41:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 14.0 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: resolution bug_status 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=3D110732 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski --- phiopt match-simplify trying: b_15 >=3D 0 ? iftmp.1_16 : 1 Matching expression match.pd:2006, gimple-match-5.cc:23 Matching expression match.pd:2006, gimple-match-5.cc:23 Applying pattern match.pd:5311, gimple-match-1.cc:3381 Applying pattern match.pd:1393, gimple-match-2.cc:7726 Applying pattern match.pd:1901, gimple-match-4.cc:680 Applying pattern match.pd:4781, gimple-match-10.cc:16483 Folded into the sequence: _11 =3D b_15 >=3D 0; _20 =3D (int) _11; _19 =3D b_15 < 0; _26 =3D (int) _19; _18 =3D iftmp.1_16 | _26; statement un-sinked: iftmp.1_16 =3D b_15 >> 6; Before: # RANGE [irange] int [0, 1] iftmp.1_16 =3D b_15 >> 6; Dup of bug 110252. *** This bug has been marked as a duplicate of bug 110252 ***=