aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppinit.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-03-08 14:26:37 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-03-08 13:26:37 +0000
commit18d13f34175f157bc3152afdf48da798452afc1b (patch)
tree8a4f34953d22192851b98b6fb46d7a44532ecfc0 /gcc/cppinit.c
parent4a07c08a47f2a4fbce5634b93834ed824ebafc79 (diff)
downloadgcc-18d13f34175f157bc3152afdf48da798452afc1b.zip
gcc-18d13f34175f157bc3152afdf48da798452afc1b.tar.gz
gcc-18d13f34175f157bc3152afdf48da798452afc1b.tar.bz2
inline-3.c: New test.
* gcc.dg/inline-3.c: New test. * c-decl.c: (finish_function): Update call of tree_inlinable_function_p. * cgraph.h: (cgraph_local_info): Add can_inline_once (cgraph_global_info): Add inline_once. (cgraph_node): Add previous. (cgraph_remove_node): New. * cgraphunit.c (cgraph_mark_functions_to_inline_once): New static function. (cgraph_optimize): Call it. (cgraph_finalize_function): Set inlinable flags. (cgraph_finalize_compilation_unit): Actually remove the reclaimed nodes. (cgraph_mark_functions_to_output): Use new inlining heuristics flags. (cgraph_expand_function): Likewise. * cgraph.c (cgraph_node): Put nodes into doubly linked chain. (cgraph_remove_node): New function. * flags.h (flag_inline_functions_called_once): Declare. * tree-inline.c: Include cgraph.h (inlinable_functions_p): Add extra argument to bypass limits. (expand_call_inline): Obey cgraph flag. * tree-inline.h (tree_inlinable_function_p): Update prototype. From-SVN: r63983
Diffstat (limited to 'gcc/cppinit.c')
0 files changed, 0 insertions, 0 deletions