emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc and inline [was: Re: New function for gdb-ui.el?]


From: Eli Zaretskii
Subject: Re: gcc and inline [was: Re: New function for gdb-ui.el?]
Date: Thu, 27 Oct 2005 07:01:31 +0200

> Date: Thu, 27 Oct 2005 06:22:43 +0200
> From: address@hidden (Tomas Zerolo)
> Cc: address@hidden, Tomas Zerolo <address@hidden>, address@hidden,
>       address@hidden
> 
> > > No, it's just a hint to the compiler.
> > 
> > Yes, but GCC is generally known for honoring that hint.
> 
> As Andreas said, GCC seems to be getting lazier lately. (Actually, my
> knowledge bits were based on a recent experience. -Winline told me, to
> my surprise, that some short function wasn't being inlined. But (after
> digging and finding this __inline__ __attribute__ thing) forcing the
> compiler to do it confirmed the compiler's guess: it wasn't worth the
> while (the whole thing was faster by about 1 percent, which I consider
> to be noise).

All I can say is that my experience with GCC, including the latest
versions, is very different.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]