public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/104187] New: Call site specific attribute to control inliner
@ 2022-01-22 16:15 david.bolvansky at gmail dot com
  2022-01-22 17:46 ` [Bug ipa/104187] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: david.bolvansky at gmail dot com @ 2022-01-22 16:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104187

            Bug ID: 104187
           Summary: Call site specific attribute to control inliner
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: david.bolvansky at gmail dot com
  Target Milestone: ---

It could be useful to have more control over inlining. Use cases:



int foo();

void bar();

int g; 

void test()
{
 g = __builtin_always_inline(foo()); // force inlining of foo() here
 __builtin_noinline(bar()); // never inline bar to this function
}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-03-03 10:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 16:15 [Bug c/104187] New: Call site specific attribute to control inliner david.bolvansky at gmail dot com
2022-01-22 17:46 ` [Bug ipa/104187] " pinskia at gcc dot gnu.org
2022-01-24  7:49 ` marxin at gcc dot gnu.org
2022-01-24  9:13 ` rguenth at gcc dot gnu.org
2022-01-24  9:19 ` pinskia at gcc dot gnu.org
2022-01-24 10:18 ` hubicka at kam dot mff.cuni.cz
2022-01-24 22:35 ` joseph at codesourcery dot com
2022-01-25 20:30 ` david.bolvansky at gmail dot com
2022-01-26 13:22 ` hubicka at gcc dot gnu.org
2022-02-10 13:02 ` aaron at aaronballman dot com
2022-03-03 10:23 ` david.bolvansky at gmail dot com

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).