On Fri, Feb 10, 2023 at 07:42:47AM +0200, Rimvydas Jasinskas via Fortran wrote: > Hello everyone, > > would it be possible to extend gfortran attribute support to handle > NOINLINE too? Like: "!GCC$ ATTRIBUTES noinline :: ...".
It looks to me like you are conflating three independent topics. What does NOINLINE have to do with WEAK? What does WEAK have to do with NORETURN? More importantly what is the effect of NOINLINE if a user does not specify the -flto option? Does this block inlining regardless of LTO? -- steve