summaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-06 14:34:48 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-06 14:34:48 +0000
commit51d2c51e230e8618ed8e9d094c0a770d19106d4c (patch)
tree1eb9825a1426b1f1981f774965457b45a5f0fba4 /gcc/builtins.c
parent649aab9e769e3d426c5527d09843d18fda03a825 (diff)
downloadgcc-51d2c51e230e8618ed8e9d094c0a770d19106d4c.tar.gz
* tree.h (avoid_folding_inline_builtin): New prototype.
* builtins.c (avoid_folding_inline_builtin): No longer static. * gimple-fold.c (gimple_fold_builtin): Give up if avoid_folding_inline_builtin returns true. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179614 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 3055927f369..8476b0e6b8b 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -10360,7 +10360,7 @@ fold_builtin_varargs (location_t loc, tree fndecl, tree exp,
been inlined, otherwise e.g. -D_FORTIFY_SOURCE checking
might not be performed. */
-static bool
+bool
avoid_folding_inline_builtin (tree fndecl)
{
return (DECL_DECLARED_INLINE_P (fndecl)