summaryrefslogtreecommitdiff
path: root/gcc/calls.h
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2016-07-21 19:06:02 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2016-07-21 19:06:02 +0000
commit159e8ef0c6673f73ab33ba86dd13652dfdae342c (patch)
treece852e8aeab3c5945be947a5e82a7a2fe2b2bca3 /gcc/calls.h
parentdf26a50d0d0665879975138bfe4f05285b2fadae (diff)
016-07-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR middle-end/71876 * calls.c (gimple_maybe_alloca_call_p): New function. Return true if STMT may be an alloca call. (gimple_alloca_call_p, alloca_call_p): Return only true for the builtin alloca call. * calls.h (gimple_maybe_alloca_call_p): New function. * tree-inline.c (inline_forbidden_p_stmt): Use gimple_maybe_alloca_call_p here. From-SVN: r238605
Diffstat (limited to 'gcc/calls.h')
-rw-r--r--gcc/calls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/calls.h b/gcc/calls.h
index c6cca5d7d81..e14415646ca 100644
--- a/gcc/calls.h
+++ b/gcc/calls.h
@@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see
extern int flags_from_decl_or_type (const_tree);
extern int call_expr_flags (const_tree);
extern int setjmp_call_p (const_tree);
+extern bool gimple_maybe_alloca_call_p (const gimple *);
extern bool gimple_alloca_call_p (const gimple *);
extern bool alloca_call_p (const_tree);
extern bool must_pass_in_stack_var_size (machine_mode, const_tree);