From ec89843ee69d49c6a8279f6fd063bea5e4e18098 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 9 Nov 2003 04:06:21 +0100 Subject: [PATCH] * tree-optimize.c (tree_rest_of_compilation): Fix warning. From-SVN: r73385 --- gcc/ChangeLog | 2 ++ gcc/tree-optimize.c | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 16f6c62a668..1bf0bf75b5b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2003-11-09 Jan Hubicka + * tree-optimize.c (tree_rest_of_compilation): Fix warning. + * cgraphunit.c (cgraph_expand_function): Use cgraph_possibly_inlined_p. * tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree. diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index c61d34812c5..f1957ab20e7 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -195,14 +195,6 @@ tree_rest_of_compilation (tree fndecl, bool nested_p) } } - /* ??? Looks like some of this could be combined. */ - - /* If possible, obliterate the body of the function so that it can - be garbage collected. */ - if (dump_enabled_p (TDI_all)) - /* Keep the body; we're going to dump it. */ - ; - /* 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 the instructions in the function from the CODE_LABEL stored in the -- 2.30.2