From: david mosberger <dmosberger@gmail.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] Fix gcc 4 warnings on ia64
Date: Wed, 17 Aug 2005 01:30:09 +0000 [thread overview]
Message-ID: <ed5aea43050816183044205495@mail.gmail.com> (raw)
In-Reply-To: <20050816155747.GN20749@wotan.suse.de>
On 8/16/05, Andi Kleen <ak@suse.de> wrote:
> And for an inline __attribute__((const)) is a nop because the compiler
> always looks at the code inside the inline and decides based
> on that if the return value is constant or not.
Not if the function contains an "asm", which is what used to be there.
It later got changed to reading a global, so I agree that the
__attribute_const__ is no longer necessary.
--david
--
Mosberger Consulting LLC, voice/fax: 510-744-9372,
http://www.mosberger-consulting.com/
35706 Runckel Lane, Fremont, CA 94536
prev parent reply other threads:[~2005-08-17 1:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-16 15:57 [PATCH] Fix gcc 4 warnings on ia64 Andi Kleen
2005-08-16 23:04 ` Peter Chubb
2005-08-16 23:34 ` Andi Kleen
2005-08-17 0:05 ` Luck, Tony
2005-08-17 0:11 ` Andi Kleen
2005-08-17 1:30 ` david mosberger [this message]
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=ed5aea43050816183044205495@mail.gmail.com \
--to=dmosberger@gmail.com \
--cc=linux-ia64@vger.kernel.org \
/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.