From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4C67F3858D1E; Fri, 8 Sep 2023 02:22:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C67F3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694139742; bh=2fVxiNmGPIO85Kkk+aIHXf01DbkMrDjA3eYfsFpOHf0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yMGj72uddJ+1VfnJhf4Rn5VHgS3gQ+7g6bbWFi6VAYGziuOuGJvAu89UqCZbHo0Tw gJ8A3h2LR8xTb57lPsiB9bopbsNmLRb8qirtMUS+Q3mt/TMFnAww/L/VqlcPyfCNgC b7AZwRpX0lMdh0QRChxC+vCOqZWdDmwDGbBcUDcc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111331] [11/12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu since Date: Fri, 08 Sep 2023 02:22:21 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 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=3D111331 --- Comment #8 from Andrew Pinski --- The tree-ssa-phiopt.cc code is much more complex. But not testing arg_true/arg_false against alt_larger/alt_smaller does fix = the issue.=