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/output.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/output.h')
-rw-r--r-- | gcc/output.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h index c3c0381ded6..dd9ad82a6bc 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -437,6 +437,9 @@ extern int current_function_uses_pic_offset_table; /* This is nonzero if the current function uses the constant pool. */ extern int current_function_uses_const_pool; +/* Language-specific reason why the current function cannot be made inline. */ +extern char *current_function_cannot_inline; + /* The line number of the beginning of the current function. sdbout.c needs this so that it can output relative linenumbers. */ |