This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: GDB ARIndex cleanup


> -----Message d'origine-----
> De?: Joel Brobecker [mailto:brobecker@adacore.com]
> Envoyé?: Friday, March 27, 2009 12:10 AM
> À?: Pierre Muller
> Cc?: gdb-patches@sourceware.org; gdb@sourceware.org; 'Eli Zaretskii'
> Objet?: Re: GDB ARIndex cleanup
> 
> > 1) "inline"
> > for inline, someone once said that the rule that we should not use
> > "inline" keyword is old, and maybe not correct anymore.
> >
> > If everyone agrees that this rule should stay, I will be happy to
> > commit an obvious fix removing all of them as this seems quite
> > mechanical, but I wanted to get some feedback first.
> 
> I don't know much about the effectiveness of using "inline".
> I personally tend to avoid it, because I trust the compiler to
> determine
> whether an inline will help or not. So I'm OK either way.

  
As Daniel seems to think that is can be useful
(maybe for non GNU compilers?) should
we use some configure set macro like
INLINE
that would be set to nothing for GNU gcc
but could be inline for other compilers?

Configure already checks for the ability of inline,
but it could be modified to discard inline altogether
for gcc, no?


Pierre Muller
Pascal language support maintainer for GDB






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