]> gcc.gnu.org Git - gcc.git/commit
inline-3.c: New test.
authorJan Hubicka <jh@suse.cz>
Sat, 8 Mar 2003 13:26:37 +0000 (14:26 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 8 Mar 2003 13:26:37 +0000 (13:26 +0000)
commit18d13f34175f157bc3152afdf48da798452afc1b
tree8a4f34953d22192851b98b6fb46d7a44532ecfc0
parent4a07c08a47f2a4fbce5634b93834ed824ebafc79
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
gcc/ChangeLog
gcc/c-decl.c
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/inline-3.c [new file with mode: 0644]
gcc/tree-inline.c
gcc/tree-inline.h
This page took 0.055682 seconds and 5 git commands to generate.