diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-08 10:52:37 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-08 10:52:37 +0000 |
commit | 41124432afe1975743312e7c10f8dd712117cdcb (patch) | |
tree | 2c388127a95218487e93567ec1198ce237ce1ede /gcc/function.h | |
parent | 8b59469ae1fb1868b69bb9508e60c568279f52f2 (diff) | |
download | gcc-41124432afe1975743312e7c10f8dd712117cdcb.tar.gz |
* function.c: Define current_function_cannot_inline.
(push_function_context_to): Save it.
(pop_function_context_from): Restore it.
* function.h (struct function): Provide it a home.
* output.h: Declare it.
* integrate.c (function_cannot_inline_p): Check it.
* decl.c (cp_finish_decl): Disable inlining of extern inlines
with static variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20332 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 59a149d4481..e06366c9478 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -102,6 +102,7 @@ struct function rtx tail_recursion_label; rtx tail_recursion_reentry; rtx internal_arg_pointer; + char *cannot_inline; rtx arg_pointer_save_area; tree rtl_expr_chain; rtx last_parm_insn; |