aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-06-08 10:52:37 +0000
committerJason Merrill <jason@gcc.gnu.org>1998-06-08 06:52:37 -0400
commitaeb302bbec86aff44fadaad0c9c9bf5e59cbe3f5 (patch)
tree2c388127a95218487e93567ec1198ce237ce1ede /gcc/function.h
parent8b015896c2a46c08cd90f2686a8fb533709e984c (diff)
downloadgcc-aeb302bbec86aff44fadaad0c9c9bf5e59cbe3f5.zip
gcc-aeb302bbec86aff44fadaad0c9c9bf5e59cbe3f5.tar.gz
gcc-aeb302bbec86aff44fadaad0c9c9bf5e59cbe3f5.tar.bz2
function.c: Define current_function_cannot_inline.
* 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. From-SVN: r20332
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 59a149d..e06366c 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;