diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2016-07-21 19:11:26 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2016-07-21 19:11:26 +0000 |
commit | cfd97da10d63e1eddd3b901a505056ab342ce46f (patch) | |
tree | e87da55ffe8047c857a077c464f26c9b98dd2be0 /gcc/calls.c | |
parent | 159e8ef0c6673f73ab33ba86dd13652dfdae342c (diff) | |
download | gcc-cfd97da10d63e1eddd3b901a505056ab342ce46f.zip gcc-cfd97da10d63e1eddd3b901a505056ab342ce46f.tar.gz gcc-cfd97da10d63e1eddd3b901a505056ab342ce46f.tar.bz2 |
016-07-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR middle-end/71876
* builtin-attrs.def (ATTR_RT_NOTHROW_LEAF_LIST): New return twice
attribute.
* builtins.def (BUILT_IN_SETJMP): Use ATTR_RT_NOTHROW_LEAF_LIST here.
* calls.c (special_function_p): Remove the special handling of the
"__builtin_" prefix.
From-SVN: r238606
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index bb954ef..c04d00f 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -514,14 +514,10 @@ special_function_p (const_tree fndecl, int flags) && ! strcmp (name, "alloca")) flags |= ECF_MAY_BE_ALLOCA; - /* Disregard prefix _, __, __x or __builtin_. */ + /* Disregard prefix _, __ or __x. */ if (name[0] == '_') { - if (name[1] == '_' - && name[2] == 'b' - && !strncmp (name + 3, "uiltin_", 7)) - tname += 10; - else if (name[1] == '_' && name[2] == 'x') + if (name[1] == '_' && name[2] == 'x') tname += 3; else if (name[1] == '_') tname += 2; |