diff options
author | edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-07-21 19:06:02 +0000 |
---|---|---|
committer | edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-07-21 19:06:02 +0000 |
commit | 5890598506d458bbec971978b642c77f7354c24f (patch) | |
tree | ce852e8aeab3c5945be947a5e82a7a2fe2b2bca3 /gcc/calls.h | |
parent | 8aafcf7ebbe6f6e4b0883da766db97e4bb7c5adb (diff) | |
download | gcc-5890598506d458bbec971978b642c77f7354c24f.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238605 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.h')
-rw-r--r-- | gcc/calls.h | 1 |
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); |