From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 08E74385DC01; Fri, 3 Apr 2020 20:01:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 08E74385DC01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585944107; bh=7R3pdI8x6gjyBoCdVqpbUMK512Mow9nkUyzG9eyV20k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aMRNOn8xKeskLpkdxVdULByjq1V2/XjFeqPScIiKY1akcQdEbfzyoRaOK8zHbdyLV pvcDr0Ti06CB5HEex3F2cW5DMuDeOwYLKnhOsNEaekUURn6fdrH0GzKamJ6ataTzX/ 5rkMy4F8IfmqBS1LS3/B67e7dWAQVQhTjhAuZ3Q0= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93435] [8/9 Regression] Hang with -O2 on innocuous looking code with GCC 8.3 Date: Fri, 03 Apr 2020 20:01:46 +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.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 8.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 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, 03 Apr 2020 20:01:47 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93435 --- Comment #12 from CVS Commits --- The releases/gcc-8 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:b445ceec81ba3f4afad8c3ead1e58f14f1c2e146 commit r8-10163-gb445ceec81ba3f4afad8c3ead1e58f14f1c2e146 Author: Martin Jambor Date: Fri Apr 3 22:01:17 2020 +0200 gcc-8 sra: Cap number of sub-access propagations with a param (PR 93435) This is non-trivial but rather straightforward backport of 29f23ed79b60949fc60f6fdbbd931bd58090b241 from master. See https://gcc.gnu.org/pipermail/gcc-patches/2020-March/542390.html for more information. Bootstrapped and tested on gcc-8 branch. 2020-04-03 Martin Jambor PR tree-optimization/93435 * params.def (PARAM_SRA_MAX_PROPAGATIONS): New parameter. * tree-sra.c (propagation_budget): New variable. (budget_for_propagation_access): New function. (propagate_subaccesses_across_link): Use it. (propagate_all_subaccesses): Set up and destroy propagation_bud= get. * doc/invoke.texi (sra-max-propagations): New. testsuite/ * gcc.dg/tree-ssa/pr93435.c: New test.=