From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 94AB6386546B; Thu, 5 Sep 2024 14:31:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 94AB6386546B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1725546663; bh=MRU6XtR+0n6ypa75KwP74y8Jy0+SjGbn7fxEAaQm8D4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=M6aOsT/6ijUm0fgR4xr2e4M7gCe5LyzghxqLumneD4vELMXVl1EUZGG3ixRYgwFqe pw/dXQgcV3DMM1lFde3ofcxZWvHATYRCispf+FaYH9goZs6rE+99JdyjoJ8GgIyPLi 0YAniRQj3t4Ev2d5cFUHBo7TNrRzBn+5VvSJNYnI= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/116410] modref doesn't generate LTO summaries with -ffat-lto-objects (-ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects) Date: Thu, 05 Sep 2024 14:31:03 +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: 15.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 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=3D116410 --- Comment #15 from GCC Commits --- The releases/gcc-14 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:6abedee0d4c8d40d412a358a3f6cb6090772d286 commit r14-10647-g6abedee0d4c8d40d412a358a3f6cb6090772d286 Author: H.J. Lu Date: Tue Aug 27 13:11:39 2024 -0700 ipa: Don't disable function parameter analysis for fat LTO Update analyze_parms not to disable function parameter analysis for -ffat-lto-objects. Tested on x86-64, there are no differences in zstd with "-O2 -flto=3Dauto" -g "vs -O2 -flto=3Dauto -g -ffat-lto-objects". PR ipa/116410 * ipa-modref.cc (analyze_parms): Always analyze function parame= ter for LTO. Signed-off-by: H.J. Lu (cherry picked from commit 2f1689ea8e631ebb4ff3720d56ef0362f5898ff6)=