From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 89A053858D35; Sat, 6 May 2023 21:29:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89A053858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683408565; bh=k6hd2K33616u1dR4WOCtbXP+JIYM7J6qQWnSxJRn87Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uXee8Y95GwHIC8wrv1PTpeDHnNDjcubqc5UeoNSLrZ1zzGMY+6gJzQ2hrTGVoKq2b hY8uqq2mSVFPUedFPeaK6K5+rSiCNLsFQzk1p/wG2rcH/dcsbT0aJXe6wfKMnqqHSY KLMW54Z6kzz51BbbPqTkeNKPzZMCGNNmCCmd1VBs= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/51964] Missed tail merging opportunity Date: Sat, 06 May 2023 21:29:24 +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: 4.7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: dependson 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=3D51964 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |89018, 59424 --- Comment #5 from Andrew Pinski --- PR 89018 and PR 59424 have a similar case. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59424 [Bug 59424] Optimization issue on min/max https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D89018 [Bug 89018] common subexpression present in both branches of condition is n= ot factored out=