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 middle-end/18071] [3.4/4.0 Regression] -Winline does not respect -fno-default-inline


------- 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


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