[Top][All Lists]
[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.
- Re: New function for gdb-ui.el?, (continued)
- Re: New function for gdb-ui.el?, Richard M. Stallman, 2005/10/24
- Re: New function for gdb-ui.el?, Nick Roberts, 2005/10/24
- Re: New function for gdb-ui.el?, Richard M. Stallman, 2005/10/25
- Re: New function for gdb-ui.el?, Nick Roberts, 2005/10/25
- Re: New function for gdb-ui.el?, Eli Zaretskii, 2005/10/26
- Re: New function for gdb-ui.el?, Nick Roberts, 2005/10/26
- gcc and inline [was: Re: New function for gdb-ui.el?], Tomas Zerolo, 2005/10/26
- Re: gcc and inline [was: Re: New function for gdb-ui.el?], Eli Zaretskii, 2005/10/26
- Re: gcc and inline [was: Re: New function for gdb-ui.el?], Andreas Schwab, 2005/10/26
- Re: gcc and inline [was: Re: New function for gdb-ui.el?], Tomas Zerolo, 2005/10/27
- Re: gcc and inline [was: Re: New function for gdb-ui.el?],
Eli Zaretskii <=
- Re: gcc and inline [was: Re: New function for gdb-ui.el?], Richard M. Stallman, 2005/10/27
- Re: gcc and inline [was: Re: New function for gdb-ui.el?], Eli Zaretskii, 2005/10/28
- Re: gcc and inline [was: Re: New function for gdb-ui.el?], Tomas Zerolo, 2005/10/28
- Re: gcc and inline [was: Re: New function for gdb-ui.el?], Miles Bader, 2005/10/28
- Re: New function for gdb-ui.el?, Eli Zaretskii, 2005/10/26
- Re: New function for gdb-ui.el?, Richard M. Stallman, 2005/10/26
- Re: New function for gdb-ui.el?, David Hansen, 2005/10/28
- Re: New function for gdb-ui.el?, Miles Bader, 2005/10/28
- Re: New function for gdb-ui.el?, Nick Roberts, 2005/10/28
- Re: New function for gdb-ui.el?, David Hansen, 2005/10/29