https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60063
Petr Machata <pmachata at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmachata at redhat dot com --- Comment #2 from Petr Machata <pmachata at redhat dot com> --- Still a problem in gcc 4.9.0. Despite this perhaps not being documented, the attribute does work for ordinary functions, and that's the behavior that I would intuitively expect.