This is the mail archive of the gcc-patches@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: [PATCH] Use __inline instead of inline in emmintrin.h


On Tue, May 31, 2005 at 04:08:55AM -0400, Jakub Jelinek wrote:
> On Mon, May 30, 2005 at 10:28:51PM -0700, Mike Stump wrote:
> > On Monday, May 30, 2005, at 08:51  AM, Jakub Jelinek wrote:
> > >Given that __inline is used a few hundred times in *mmintrin.h and
> > >inline just for the 6 inlines added in January, I think the following
> > >patch makes sense if not for anything else, then for consistency.
> > >Ok for HEAD/4.0?
> > 
> > Hum, for Altivec, we found we like always inline...  Any reason to not 
> > do that here as well?
> 
> inline doesn't work with -std=c89 -pedantic-errors, __inline or __inline__
> works.

I'm guessing that Mike meant __attribute__((__always_inline__)).  Which
would make sense...

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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