summaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-25 13:35:13 +0000
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-25 13:35:13 +0000
commitb29139ad003168de8af4e0c9be110e59e6af3861 (patch)
treeb137ccbe21de5a50b1ef9d25894e931b998042b3 /gcc/builtins.c
parent19f7f0b3c4a4d36a0678c0fc4f69925524d90c65 (diff)
downloadgcc-b29139ad003168de8af4e0c9be110e59e6af3861.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181721 138bc75d-0d04-0410-961f-82ee72b054a4
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 c9c02d10550..5ad69ceca92 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)