From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE63C385DC00; Fri, 3 Apr 2020 18:33:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE63C385DC00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585938802; bh=LOLRRZsG9SzFAZvq4kMMYwE0ag81hZByhGvwAiR6KkI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=S8g+7dxUK/swq4JfW9WJ7CVpqyr8Go/0oiX0AsNKL+6h6hA2RV98Z6zP13HK/cYn6 O01pC6FwkojPFp3Jewe9T4lEpwuPabu/VfeJb+tevsqujba/91otsl1JfmPbQd2FzK WcvawO+hcggtR7ySY6uKpKI1KQD5XCgt76fQfzS8= 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 18:33:22 +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 18:33:22 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93435 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:a1bb16994caed4dacf8c9ee1a33b177df140e9dc commit r9-8449-ga1bb16994caed4dacf8c9ee1a33b177df140e9dc Author: Martin Jambor Date: Fri Apr 3 20:32:44 2020 +0200 gcc-9 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. 2020-04-02 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.=