From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB1AC3856DCD; Wed, 28 Jun 2023 10:45:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB1AC3856DCD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687949120; bh=t7HKyqTx0Q8O3d/wHOyDBDoH/ZWD9dcFoqwtnXiKDSo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yDGSDM1v3LwlZrIl3nWebPuHXQO8UTAywFB+wX2szH7yt78sw++zeO3EgH26gZTYW InrS/p9Y8yCJ0DBxOsiYgCAfupz7w59VnOkZvoU3U2dSAD5lva5HFwO70CJZa26oDb L6lDi2K5SoPOC5/pzfALpxEp1PvY1OeZ4JfMlSKc= From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming Date: Wed, 28 Jun 2023 10:45:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.1.1 X-Bugzilla-Keywords: lto, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz 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.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110334 --- Comment #16 from Jan Hubicka --- > > We already have plenty of GF_CALL_ flags, so adding one should be easy? >=20 > We have 3 bits left :/ I was hoping that cgraph_edge lives long > enough? But I suppose we're not keeping them across the early opts > pipeline. Hmm, so we have too many flags. Indeed problem is that we don't want to keep callgraph edges across all modifications gimple optimization passes does. Eventualy such annotations can probably go to hash_map just like we do for EH regions etc. Honza=