On Tue, Feb 14, 2017 at 11:23:43PM +0100, Jakub Jelinek wrote:
> GNU89 vs. C99 inlining, that code is really old and apparently nobody
> touched it since it has been written.
> 
> As everything is in a single file, either change all the inlines in the file
> to static inline, or turn them into extern inline (in C99/C11 that means
> if the function can't be inlined, an out of line copy is then emitted),
> or change inline into inline __attribute__((__gnu_inline__)), or compile
> with -fgnu89-inline.

Oh, and another option is inline __attribute__((__always_inline__))
(with or without gnu_inline), then you force the compiler to inline it and
so no out of line copy will be needed.

        Jakub
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to