[Bug middle-end/61958] functions arbitrarily placed in .text.unlikely section

andi-gcc at firstfloor dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 29 22:00:00 GMT 2014


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.



More information about the Gcc-bugs mailing list