From: Christopher Li <sparse@chrisli.org>
To: Morten Welinder <mortenw@gnome.org>
Cc: linux-sparse@vger.kernel.org
Subject: Re: Small patch for __builtin_fabs and an attribute
Date: Sat, 10 Jul 2010 11:33:23 -0700 [thread overview]
Message-ID: <AANLkTikniRSLc-9hICXzE63Ov7dGPDdGS9Q9ZG8TP8f9@mail.gmail.com> (raw)
In-Reply-To: <AANLkTilLz1Tgfnf8nwvocJeX5B2bpBG5ZzObHdNKF_ee@mail.gmail.com>
On Fri, Jul 9, 2010 at 8:15 PM, Morten Welinder <mortenw@gnome.org> wrote:
> FYI.
>
>
> diff --git a/lib.c b/lib.c
> index a218bfc..7f0b524 100644
> --- a/lib.c
> +++ b/lib.c
> @@ -716,6 +716,7 @@ void declare_builtin_functions(void)
> add_pre_buffer("extern long __builtin_alpha_inslh(long, long);\n");
> add_pre_buffer("extern long __builtin_alpha_cmpbge(long, long);\n");
> add_pre_buffer("extern long __builtin_labs(long);\n");
> + add_pre_buffer("extern double __builtin_fabs(double);\n");
>
> /* And some floating point stuff.. */
> add_pre_buffer("extern int __builtin_isgreater(float, float);\n");
> diff --git a/parse.c b/parse.c
> index f81b19f..0645538 100644
> --- a/parse.c
> +++ b/parse.c
> @@ -515,6 +515,8 @@ const char *ignored_attributes[] = {
> "__format_arg__",
> "hot",
> "__hot__",
> + "may_alias",
> + "__may_alias__",
> "malloc",
> "__malloc__",
> "model",
Looks good. Will apply.
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-07-10 18:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-10 3:15 Small patch for __builtin_fabs and an attribute Morten Welinder
2010-07-10 18:33 ` Christopher Li [this message]
2010-07-13 7:33 ` Christopher Li
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=AANLkTikniRSLc-9hICXzE63Ov7dGPDdGS9Q9ZG8TP8f9@mail.gmail.com \
--to=sparse@chrisli.org \
--cc=linux-sparse@vger.kernel.org \
--cc=mortenw@gnome.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).