From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE52D3858D38; Mon, 3 Oct 2022 19:34:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE52D3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664825672; bh=0TSM98MLJbI3ZIAMGKepNZ5gqANZPT6tNYWyL82+Szw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=d0V+waV3WefZIvOh5lnX2CvGSJDas4P6gdgST7MCLM57p9S+DR8lzkDzUVrPnjZN7 uNT4cwNCQVBOf4aQQVgLSpFKDZFz8IXILNRkYzld1az4bs/VmwHi/yZcAx0rFERTLl uYsP6R2EXDdVFluEErpH0r7GgAFEfFY7kuooQpeg= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107131] [11/12 Regression] wrong code with -Os -fno-ipa-vrp -fno-tree-bit-ccp Date: Mon, 03 Oct 2022 19:34:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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=3D107131 --- Comment #2 from Andrew Pinski --- Note there is a missed optimization here (unrelated to the wrong code): _32 =3D o_13(D) =3D=3D 0; _35 =3D (long int) _32; _36 =3D -_35; _109 =3D (long long unsigned int) _36; _102 =3D _109 > 10439075533421201520; This should just be: _32 =3D o_13(D) =3D=3D 0; _ =3D (long long unsigned int) _32; _109 =3D -_35; Let me file that as a seperate bug.=