[Bug middle-end/18071] [3.4/4.0 Regression] -Winline does not respect -fno-default-inline
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 24 16:57:00 GMT 2004
------- Additional Comments From joseph at codesourcery dot com 2004-11-24 16:57 -------
Subject: Re: [3.4/4.0 Regression] -Winline does not
respect -fno-default-inline
On Wed, 24 Nov 2004, giovannibajo at libero dot it wrote:
> JSM, do you agree with Steven's analysys? It looks like DECL_DECLARED_INLINE
> should just mean there, so the C frontend might be wrong in this regard.
I agree the C front end should set DECL_DECLARED_INLINE when a function is
declared inline. Before looking for a problem in that regard, make sure
that (a) DECL_DECLARED_INLINE is what is checked for the diagnostics in
question, (b) it is indeed not set for the relevant decl.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18071
More information about the Gcc-bugs
mailing list