public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/114531] Feature proposal for an `-finline-functions-aggressive` compiler option Date: Tue, 25 Jun 2024 18:40:11 +0000 [thread overview] Message-ID: <bug-114531-4-EQsJbIn0Y7@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-114531-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114531 --- Comment #17 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- I can see that it's useful to ask whether the current -O2 & -O3 inlining heuristics are making the right trade-off. But I think that's really a different issue from the one that is raised in the PR. (Unless we think that -O2 and -O3 should always have the same inlining heuristics henceforward, but that seems unlikely.) At the moment, -O3 is essentially -O2 + some -f options + some --param options. Users who want to pick & chose some of the -f options can do so, and can add them to stable build systems. Normally, obsolete -f options are turned into no-ops rather than removed. But users can't pick & choose the --params, and add them to stable build systems, because we reserve the right to remove --params without warning. So IMO, we should have an -f option that represents “the inlining parameters enabled by -O3”, whatever they happen to be for a given release. It's OK if the set is empty. For such a change, it doesn't really matter whether the current --params are the right ones. It just matters that the --params are the ones that we currently use. If the --params are changed later, the -f option and -O3 will automatically stay in sync.
next prev parent reply other threads:[~2024-06-25 18:40 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-03-30 1:25 [Bug driver/114531] New: " rvmallad at amazon dot com 2024-03-30 1:37 ` [Bug ipa/114531] " pinskia at gcc dot gnu.org 2024-03-30 1:38 ` pinskia at gcc dot gnu.org 2024-03-30 1:56 ` pinskia at gcc dot gnu.org 2024-03-30 2:19 ` rvmallad at amazon dot com 2024-03-30 2:21 ` rvmallad at amazon dot com 2024-03-30 2:29 ` pinskia at gcc dot gnu.org 2024-04-01 11:41 ` rvmallad at amazon dot com 2024-04-02 8:36 ` rguenth at gcc dot gnu.org 2024-04-08 9:52 ` rvmallad at amazon dot com 2024-05-31 13:57 ` rvmallad at amazon dot com 2024-06-25 13:03 ` wilco at gcc dot gnu.org 2024-06-25 15:30 ` rvmallad at amazon dot com 2024-06-25 16:20 ` hubicka at ucw dot cz 2024-06-25 16:25 ` rvmallad at amazon dot com 2024-06-25 16:49 ` hubicka at ucw dot cz 2024-06-25 17:40 ` rvmallad at amazon dot com 2024-06-25 17:48 ` rvmallad at amazon dot com 2024-06-25 18:40 ` rsandifo at gcc dot gnu.org [this message] 2024-06-25 22:25 ` Jan Hubicka 2024-06-25 22:25 ` hubicka at ucw dot cz 2024-06-27 11:46 ` rvmallad at amazon dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-114531-4-EQsJbIn0Y7@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).