From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 28BE03858C50; Wed, 8 Feb 2023 04:39:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28BE03858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675831196; bh=hDzO46BTEkeLYc9GzWHl0kYRBFLJZyI6fFXC2f2f05c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vVZx9nshjXUWrK2qteDFG/2TzIMeazSUpafSY6YNiB1NU8vnSGBnPSvn+g0dkgZxI 7YYbqy+YqivdMZbE0aC54BfLLgPz7t+JIPYI1qGlWypWTSzlliSEEFUOLKRKtzjvKZ Yg11FFXYZ9KDaQEYxhQis7R2RWZ0aE5rieps3X64= From: "rimvydas.jas at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108705] [13 Regression] Unexpected CPU time usage with LTO in ranger propagation Date: Wed, 08 Feb 2023 04:39:55 +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: 13.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rimvydas.jas at gmail dot com 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: 13.0 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108705 --- Comment #1 from Rimvydas (RJ) --- Using assumed shape arrays "p(:),s(:)" in bar() requires longer chain of ca= lls to foo() and all time spent moves to "tree VRP", but produced assembly is m= ore cluttered than with assumed size array declarations. Original code trips on both variants in different ltrans partitions during LTO link.=