https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61958
Andi Kleen <andi-gcc at firstfloor dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andi-gcc at firstfloor dot org --- Comment #4 from Andi Kleen <andi-gcc at firstfloor dot org> --- It's because printk is marked cold. That is intentional, as normally only error paths have printk. asmlinkage __printf(1, 2) __cold int printk(const char *fmt, ...); ->INVALID.