aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-07-24 11:42:52 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2006-07-24 11:42:52 +0000
commit63c2d00ca70c962e229d8353772f53b49c20680f (patch)
tree93329c76784f87baefa137368f5bcdbf94fc6d0f /gcc/cgraphunit.c
parent597ae07482f698e4d1f03861ef775fb6703627f9 (diff)
downloadgcc-63c2d00ca70c962e229d8353772f53b49c20680f.zip
gcc-63c2d00ca70c962e229d8353772f53b49c20680f.tar.gz
gcc-63c2d00ca70c962e229d8353772f53b49c20680f.tar.bz2
re PR middle-end/28463 (Using -fdump-tree-optimized causes a huge compile time memory regression)
2006-07-24 Richard Guenther <rguenther@suse.de> PR middle-end/28463 * cgraph.c (cgraph_remove_node): Do not check if dumps are enabled. * cgraphunit.c (cgraph_optimize): Likewise. From-SVN: r115714
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index c0e4149..db44cb8 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -1536,7 +1536,6 @@ cgraph_optimize (void)
/* Double check that all inline clones are gone and that all
function bodies have been released from memory. */
if (flag_unit_at_a_time
- && !dump_enabled_p (TDI_tree_all)
&& !(sorrycount || errorcount))
{
struct cgraph_node *node;