function.h (struct function): Remove cannot_inline field.
authorPaolo Bonzini <bonzini@gnu.org>
Tue, 15 Jun 2004 12:46:07 +0000 (12:46 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Tue, 15 Jun 2004 12:46:07 +0000 (12:46 +0000)
commit096f22f42494fad3990d6a2d74a9844dd6af977b
treeaf8f6b819cf8320c57100f0ded0f5d0bdbae5c96
parent8cff2a9522fcd7b7af3181f73aa91a2fce666722
function.h (struct function): Remove cannot_inline field.

gcc/ChangeLog:
2004-06-15  Paolo Bonzini  <bonzini@gnu.org>

* function.h (struct function): Remove cannot_inline field.
(current_function_cannot_inline): Remove.
* passes.c (rest_of_compilation): Reset DECL_DEFER_OUTPUT.
Simplify conditionals to ignore warn_return_type.
* tree-optimize.c (tree_rest_of_compilation): Do not reset
DECL_DEFER_OUTPUT.
* objc/objc-act.c (build_module_descriptor, finish_method_def):
Do not set current_function_cannot_inline.

gcc/java/ChangeLog:
2004-06-15  Paolo Bonzini  <bonzini@gnu.org>

* class.c (emit_register_classes): Make the function uninlinable,
do not set current_function_cannot_inline.
* resource.c (write_resource_constructor): Do not reset
flag_inline_functions around rest_of_compilation.

gcc/cp/ChangeLog:
2004-06-15  Paolo Bonzini  <bonzini@gnu.org>

* cp-tree.h (struct language_function): Remove cannot_inline.
* decl.c (save_function_data): cannot_inline is no more.
(cxx_push_function_context): Likewise.
* decl2.c (start_objects, start_static_storage_duration_function):
Reset DECL_INLINE, set DECL_UNINLINABLE.

From-SVN: r83181
12 files changed:
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/function.h
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/resource.c
gcc/objc/objc-act.c
gcc/passes.c
gcc/tree-optimize.c