From 4dd989c7633fd2c77edfa634899e4fe9f5e5a4c7 Mon Sep 17 00:00:00 2001 From: Morten Welinder Date: Mon, 19 Jul 2010 16:42:58 -0700 Subject: skip may_alias and declare builtin_fabs Signed-off-by: Morten Welinder Signed-off-by: Christopher Li --- lib.c | 1 + parse.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lib.c b/lib.c index ae6a20c..d6e8b0e 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 9074b1d..7f1ee27 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__", "may_alias", -- cgit v1.2.3-65-gdbad