From: Adrian Bunk <bunk@stusta.de>
To: Horst von Brand <vonbrand@inf.utfsm.cl>
Cc: axboe@suse.de, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] include/linux/bio.h: "extern inline" -> "static inline"
Date: Wed, 27 Jul 2005 14:05:39 +0200 [thread overview]
Message-ID: <20050727120539.GE3160@stusta.de> (raw)
In-Reply-To: <200507270149.j6R1n26u013077@laptop11.inf.utfsm.cl>
On Tue, Jul 26, 2005 at 09:49:02PM -0400, Horst von Brand wrote:
> Adrian Bunk <bunk@stusta.de> wrote:
> > "extern inline" doesn't make much sense.
>
> The gcc info here (4.0.1-4 on Fedora rawhide) says it means that the
> function should be inlined, and no local copy should be generated
> ever. This way the build will bomb out when something isn't inlined.
>
> It also says you should use:
>
> static inline void foo(some args) __attribute__((always_inline));
We are already doing this automatically.
> as a prototype in this case for future proofing (gcc inlining is not C99
> compatible!), but I don't know if that is supported as far back as 2.95.3
> (as per Documentation/Changes the required compiler).
__attribute__((always_inline)) is supported since gcc 3.1 .
> Side question: Is there anybody still seriously using such ancient
> compilers? I'd guess almost everybody is using newer versions, so this
> would really be not a supported combination anymore.
gcc 2.95 is still a 100% supported compiler.
Compilation of the complete kernel sources usually works [1] and I know
several people still using gcc 2.95 for several reasons.
cu
Adrian
[1] on i386
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2005-07-27 12:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-26 14:53 [2.6 patch] include/linux/bio.h: "extern inline" -> "static inline" Adrian Bunk
2005-07-27 1:49 ` Horst von Brand
2005-07-27 12:05 ` Adrian Bunk [this message]
2005-07-27 14:29 ` Jens Axboe
2005-07-27 14:59 ` Kimball Murray
2005-07-27 16:23 ` Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-07-31 22:26 Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050727120539.GE3160@stusta.de \
--to=bunk@stusta.de \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=vonbrand@inf.utfsm.cl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.