From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 05B83385828B; Fri, 23 Sep 2022 08:21:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 05B83385828B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663921276; bh=1bpaL9Zu48iJR6+6Fbo8Lh02f1IJbgQfe1sYd8pRi9Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xMr9Od6wJO0fgLofMR9SK+c27Fdc5pCNL6LTC4pS5sBpqpSrss1q+Kiev6ShvoM+A F3dsQ+l1bUXK76HV+wDkaMZJVKxNxRjjZUDKVHcHwhUpJB19OwNcgSbj5NPDb8Xr6m r87c4quzpP8SVTMmPGHIbVNJA82Q8Knvn3q8BclI= From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/107014] flatten+lto fails the kernel build Date: Fri, 23 Sep 2022 08:21:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 12.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D107014 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #3 from Alexander Monakov --- It was added to force inlining of small helpers that outgrow limits when building with gcov profiling: https://github.com/torvalds/linux/commit/258e0815e2b1706e87c0d874211097aa8a= 7aa52f (lack of inlining triggered a sanity check, as explained in the commit) I am surprised that "flatten" blows up on this function. Is that with any config, or again some specific settings like gcov? Is there an existing lkml thread about this?=