From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA97A3851C01; Sat, 20 Jun 2020 07:56:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA97A3851C01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592639778; bh=gfn3adGBw7bSCm9dkSQdCWsmF36NqRNI0E5EeNggSjo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XYF9JvymxTclhKYIOHssn9D1Z06DF+N9kRrFVieIlJTwwkMu6EN2ojFtWn37nbX+H H6VXrvbfEHyhFn0q8+OlOrx3lJqxU1XoEJ5BaH9Fbog3u7nffUlDA9kBKQ6jwYqUPk HVLx+9JAoK941DZoo3mNXPJiph3g/MyePE2F/+kM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/95638] [10/11 Regression] Legit-looking code doesn't work with -O2 Date: Sat, 20 Jun 2020 07:56:18 +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: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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: Sat, 20 Jun 2020 07:56:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95638 --- Comment #7 from CVS Commits --- The master branch has been updated by Bin Cheng : https://gcc.gnu.org/g:2c0069fafb53ccb7a45a6815025dfcbd2882a36e commit r11-1565-g2c0069fafb53ccb7a45a6815025dfcbd2882a36e 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.=