Re: [C PATCH] Don't warn about gnu_inline functions without definitions (PR c/63453)

2014-10-03 Thread Joseph S. Myers
On Fri, 3 Oct 2014, Marek Polacek wrote: > While looking into something else I noticed that we produce C99ish > "inline function declared but never defined" warning even for functions > marked as gnu_inline, if not in GNU89 or if -fgnu89-inline is not > in effect, because the warning was guarded o

[C PATCH] Don't warn about gnu_inline functions without definitions (PR c/63453)

2014-10-03 Thread Marek Polacek
While looking into something else I noticed that we produce C99ish "inline function declared but never defined" warning even for functions marked as gnu_inline, if not in GNU89 or if -fgnu89-inline is not in effect, because the warning was guarded only by !flag_gnu89_inline. Bootstrapped/regtested