aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-11-09 04:06:21 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-11-09 03:06:21 +0000
commitec89843ee69d49c6a8279f6fd063bea5e4e18098 (patch)
tree00a9600bd20e7da31fb502970fdd950e8b413083
parentbd04ab3253e35f1fa713c81d009c46ad93cb7a52 (diff)
downloadgcc-ec89843ee69d49c6a8279f6fd063bea5e4e18098.zip
gcc-ec89843ee69d49c6a8279f6fd063bea5e4e18098.tar.gz
gcc-ec89843ee69d49c6a8279f6fd063bea5e4e18098.tar.bz2
* tree-optimize.c (tree_rest_of_compilation): Fix warning.
From-SVN: r73385
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/tree-optimize.c8
2 files changed, 2 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 16f6c62..1bf0bf7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2003-11-09 Jan Hubicka <jh@suse.cz>
+ * 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 c61d348..f1957ab 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