From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0A7773858D28; Wed, 21 Jun 2023 07:12:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A7773858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687331561; bh=Uqp8BdAgrS31yOuLuIZ7yGO1cXXHC2fO0aTBRL81bGA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kT73pynMojq6lFQ6J5MLHMDZ6qOypJI0ELxJhAsxZJFU8aeuxMoBhEw7b1E6gHybS KVpIlwDCh9pHfGhlDTniZbzDwad8wKluUikBBALifvdG35YRh2teAeV6UpM5LPvHui UmB/H+erWe1EXWaCrMAwm3agKWefCDddgQQ5DEU0= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming Date: Wed, 21 Jun 2023 07:12:40 +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: rguenth 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: 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 #2 from Richard Biener --- The desired symbol table before LTO streaming has no symbols in the skvx:: namespace Just look at the final symbol table when not compiling with -flto, it takes until the 'Optimized Symbol table' to do that, interestingly we have Reclaiming functions: Reclaiming variables: Clearing address taken flags: Optimized Symbol table: so it doesn't claim to do anything.=