From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35BD23857C7C; Fri, 10 Jul 2020 03:59:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35BD23857C7C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1594353572; bh=/CirE5xvuZ7ukCkNIj1Co1YMmNRDnEyzd+YpPm0nI38=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MM3zLjLwQacwEvyWoHsjpFiH83OMG4QPwSUew4LttLewkV03YGffKLt4NteC8MGBp oCGEDxO/KB9dpJ3ksfAsiKYmc9CdxI4lFS+gWjKV56BOe9J3VZZ5/8XcdZ54nEYRr7 egAENu77ZnNPL0nI836Ake4CCur3wl03YChF5NZs= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/95638] [10 Regression] Legit-looking code doesn't work with -O2 Date: Fri, 10 Jul 2020 03:59:31 +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: 10.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amker at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.2 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2020 03:59:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95638 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Bin Cheng : https://gcc.gnu.org/g:f737ca45bee4ea61571393e04495955aeb7d67ab commit r10-8453-gf737ca45bee4ea61571393e04495955aeb7d67ab Author: Bin Cheng Date: Sat Jun 20 15:42:12 2020 +0800 Record and restore postorder information in breaking alias sccs. gcc/ PR tree-optimization/95638 * tree-loop-distribution.c (pg_edge_callback_data): New field. (loop_distribution::break_alias_scc_partitions): Record and res= tore postorder information. Fix memory leak. gcc/testsuite/ PR tree-optimization/95638 * g++.dg/tree-ssa/pr95638.C: New test. (cherry picked from commit 2c0069fafb53ccb7a45a6815025dfcbd2882a36e)=