[Bug regression/49139] always_inline attribute inconsistencies

chrbr at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 24 15:13:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49139

--- Comment #3 from chrbr at gcc dot gnu.org 2011-05-24 14:47:54 UTC ---
Thanks a lot, that's clear. This makes non-sense not to use inline with this
attribute. Accordingly not a bug.

So I am wondering if we could be more helpful to the users by changing the
"sorry, unimplemented" error message by something more explicit, something like
"invalid attribute without inline", and more consistent among the cases ?

Looking on a few opensources packages, I see a few usages of this attribute
without the inline keyword (e.g, the gcc testsuite, some target dl-machine.h in
the glibc). This is not frequent, I admit, but enough to be confusing.



More information about the Gcc-bugs mailing list