This is the mail archive of the gcc@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]

RE: -fobey-inline (was Re: gcc and inlining)


> > On Thu, Mar 13, 2003 at 09:54:05AM +0000, Richard Earnshaw wrote:
> > > I still think this is a bad idea.  Please start thinking about
> > > how to produce a better nut cracker rather than a larger sledge 
> > > hammer.
> > 
> > -fobey-inline is more of a correctness issue than a performance
> > issue for the people who need it.
> 
> No, it's a compile my buggy program issue.
> 
> There is no guarantee in the standard that an "inline" function will be 
> inlined.

You've said that many times now, and you're right.

Many GCC users have said that if they say "inline" they really mean "inline"
(e.g. linux kernel hackers).  And they don't want the compiler to say,
"well, not while I'm around!".

This compiler flag allows the user to make the decision, I don't see what's
wrong with that.

Of course the nut cracker should be fixed, but the sledge hammer will help
those users for now.

Greetz
Steven


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