* function.c: Define current_function_cannot_inline.
commit41124432afe1975743312e7c10f8dd712117cdcb
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 1998 10:52:37 +0000 (8 10:52 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 1998 10:52:37 +0000 (8 10:52 +0000)
tree2c388127a95218487e93567ec1198ce237ce1ede
parent8b59469ae1fb1868b69bb9508e60c568279f52f2
* 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
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/function.c
gcc/function.h
gcc/integrate.c
gcc/output.h