aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2020-12-10 06:23:36 -0300
committerAlexandre Oliva <oliva@gnu.org>2020-12-10 08:31:13 -0300
commitf2a5e5f3e6d770d16ad3c48c753a952a40c09c16 (patch)
tree2ccbac08ba9c92734e770164281b93a41aa79142 /gcc/tree.c
parent680e4202f23ce74f3b26c7f090b9d22a56765554 (diff)
downloadgcc-f2a5e5f3e6d770d16ad3c48c753a952a40c09c16.zip
gcc-f2a5e5f3e6d770d16ad3c48c753a952a40c09c16.tar.gz
gcc-f2a5e5f3e6d770d16ad3c48c753a952a40c09c16.tar.bz2
drop __builtin_ from __clear_cache libname
I made a cut&pasto in my previous patch for tree.c, causing platforms that have CLEAR_INSN_CACHE defined, and none of the internal __clear_cache expansion overriders, to issue calls to symbols named __builtin___clear_cache rather than __clear_cache, on languages other than those in the C family. Oops. This patch removes __builtin_ from the string used as the libname for __buuiltin___clear_cache. for gcc/ChangeLog * tree.c (build_common_builtin_nodes): Drop __builtin_ from __clear_cache libname.
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 02ce5dd..9b2ecb3 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -10736,7 +10736,7 @@ build_common_builtin_nodes (void)
if (!builtin_decl_explicit_p (BUILT_IN_CLEAR_CACHE))
local_define_builtin ("__builtin___clear_cache", ftype,
BUILT_IN_CLEAR_CACHE,
- "__builtin___clear_cache",
+ "__clear_cache",
ECF_NOTHROW);
local_define_builtin ("__builtin_nonlocal_goto", ftype,