aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-optimize.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2003-11-09 02:37:54 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2003-11-09 02:37:54 +0000
commitbd04ab3253e35f1fa713c81d009c46ad93cb7a52 (patch)
tree1bfc19289d3c7307bd622bf5f3e65c6a3e3dea23 /gcc/tree-optimize.c
parentf7a018474dc63bd2256a7bfeec67b4252481601b (diff)
downloadgcc-bd04ab3253e35f1fa713c81d009c46ad93cb7a52.zip
gcc-bd04ab3253e35f1fa713c81d009c46ad93cb7a52.tar.gz
gcc-bd04ab3253e35f1fa713c81d009c46ad93cb7a52.tar.bz2
cgraphunit.c (cgraph_expand_function): Use cgraph_possibly_inlined_p.
* cgraphunit.c (cgraph_expand_function): Use cgraph_possibly_inlined_p. * tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree. * opts.c (common_handle_option): Do not set max-inline-insns. * params.def: Update comments. (PARAM_MAX_INLINE_INSNS): Kill. * invoke.texi (max-inline-insns): Kill. From-SVN: r73384
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r--gcc/tree-optimize.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c
index e6049cb..c61d348 100644
--- a/gcc/tree-optimize.c
+++ b/gcc/tree-optimize.c
@@ -202,13 +202,6 @@ tree_rest_of_compilation (tree fndecl, bool nested_p)
if (dump_enabled_p (TDI_all))
/* Keep the body; we're going to dump it. */
;
- else if (DECL_INLINE (fndecl) && flag_inline_trees)
- /* We might need the body of this function so that we can expand
- it inline somewhere else. */
- ;
- else
- /* We don't need the body; blow it away. */
- DECL_SAVED_TREE (fndecl) = NULL;
/* Since we don't need the RTL for this function anymore, stop pointing to
it. That's especially important for LABEL_DECLs, since you can reach all