This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/55830] inline and __attribute__((always_inline)) treated differently for unused-function warning


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

--- Comment #3 from Brooks Moses <brooks at gcc dot gnu.org> 2012-12-30 21:50:08 UTC ---
Andrew: Oh, interesting.  So perhaps this is really a failure to warn (or
error?) for a case where "__attribute__((always_inline))" isn't used with
"inline", and a case of missing documentation on the always_inline attribute?

FWIW, the additional "inline" certainly doesn't seem to be needed in practice
for GCC to inline the code.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]