https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31362
stefan.tauner at gmx dot at changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan.tauner at gmx dot at --- Comment #20 from stefan.tauner at gmx dot at --- This just bit me too. Almost 20 years have passed. I'd like to evaluate if GCC still thinks it is fine to put code of a function declared to be put into a specific function into another function because of inlining. IMHO it should be obvious that this is not what users want: The only reason to put the section attribute on a function is to put respective opcodes in that section. IMHO (and from what I read in this thread) inlining such a function in general would be fine IFF the calling functions also reside in that section. Thus the title of the bug report is a bit too blunt.