aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2011-11-25 13:35:13 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2011-11-25 13:35:13 +0000
commit0c1e7e423a9072db79fb1ce5d99d4355ae3ed258 (patch)
treeb137ccbe21de5a50b1ef9d25894e931b998042b3 /gcc/builtins.c
parentb5e3577030b315d4f6adda285c3d01b0b845263e (diff)
downloadgcc-0c1e7e423a9072db79fb1ce5d99d4355ae3ed258.zip
gcc-0c1e7e423a9072db79fb1ce5d99d4355ae3ed258.tar.gz
gcc-0c1e7e423a9072db79fb1ce5d99d4355ae3ed258.tar.bz2
re PR other/51011 (FAIL: gcc.dg/atomic-generic.c (test for excess errors))
2011-11-24 Andrew MacLeod <amacleod@redhat.com> PR other/51011 * tree.h (is_builtin_name): No longer external. * builtins.c (is_builtin_name): Make static. * varasm.c (incorporeal_function_p): __sync and __atomic external calls are not incorporeal and may need asm label processing. From-SVN: r181721
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index c9c02d1..5ad69cec 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -227,7 +227,7 @@ static void expand_builtin_sync_synchronize (void);
/* Return true if NAME starts with __builtin_ or __sync_. */
-bool
+static bool
is_builtin_name (const char *name)
{
if (strncmp (name, "__builtin_", 10) == 0)