From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9029A384F964; Thu, 15 Dec 2022 15:47:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9029A384F964 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671119225; bh=oN1lvx2gZnoGx/2xytWwjoK1OCMJMHo0DBeJYiVuuT0=; h=From:To:Subject:Date:From; b=qoaAuYITSWoKcUbg0Hbisk+/3BmQ6t0YVmuLlR069y/zju272nNvV23DmcjH33SeS zJYdAbM2ERmmI3+/iv7brtGc8Z05zE0k0VEgy0Y/jl4GkapRGS8mqJETaJjnmqQ66V VKINzSBbO4GetFrfenc+Y5XnnzNMfReHjDkFO3JE= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/108130] New: [13 Regression] LTO compile time hog seen on bootstrap-lto config since r13-4684-g7450b25566b7a7 Date: Thu, 15 Dec 2022 15:47:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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=3D108130 Bug ID: 108130 Summary: [13 Regression] LTO compile time hog seen on bootstrap-lto config since r13-4684-g7450b25566b7a7 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- I noticed linking of e.g. cc1plus gets much slower in stage2 with a WPA hog= in: 58.15% lto1 [.] lto_symtab_encoder_lookup 19.95% lto1 [.] may_need_named_section_p 18.77% lto1 [.] rename_statics 0.50% lto1 [.] lto_symtab_encoder_lookup 0.09% lto1 [.] lto_symtab_encoder_encode_body_p The WPA phase takes >5 minutes, while it used to take ~30 seconds on my machine.=