http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48137
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-15 16:36:34 UTC --- Yes, well ... if it "works" you are lucky. "Works" in this case can even mean we simply don't turn the indirect call into a direct one (in which case we'll not notice the fn is always-inline and do not complain). I suggested to emit a diagnostic whenever the address of an always-inline function is taken, but kernel people will take that not lightly I guess ;)