--- Comment #3 from jakub at gcc dot gnu dot org 2008-10-27 12:02 ---
What the proper fix is depends on what semantics do you want.
If you want the GNU89 extern inline semantics unconditionally, then
use extern inline __attribute__((gnu_inline)). If you want C99 inline
semantics,
make s
--- Comment #2 from peroyvind at mandriva dot org 2008-10-27 11:52 ---
So the proper fix for code to keep same behaviour would be to use 'extern
inline' then?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-10-27 00:22 ---
This is correct behavior. C99 inline by itself is what GNU C90 calls extern
inline. That is inline if it can be, otherwise don't emit code for the
function. "extern inline" for C99 says always emit the function.