https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118005
Alejandro Colomar <alx at kernel dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #19 from Alejandro Colomar <alx at kernel dot org> --- Why can't I turn it off with -Wno-attributes=gnu::noipa? alx@devuan:~/tmp$ cat inline.c [[gnu::noipa]] inline void f(void) { return; } alx@devuan:~/tmp$ gcc -Wall -Wextra -S -Wno-attributes=gnu::noinline -Wno-attributes=gnu::noipa inline.c inline.c:3:1: warning: inline function ‘f’ given attribute ‘noinline’ [-Wattributes] 3 | f(void) | ^