aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2011-01-13 06:41:03 -0700
committerJeff Law <law@gcc.gnu.org>2011-01-13 06:41:03 -0700
commit29fa95ed577bb9080f25c4d3d8c694b40051e87a (patch)
tree63481903a2a1e2fc61101558fa5703b5c7af933d /gcc/doc
parent71d12276670423b5a6bc35ba79feb481feed7c31 (diff)
downloadgcc-29fa95ed577bb9080f25c4d3d8c694b40051e87a.zip
gcc-29fa95ed577bb9080f25c4d3d8c694b40051e87a.tar.gz
gcc-29fa95ed577bb9080f25c4d3d8c694b40051e87a.tar.bz2
re PR rtl-optimization/39077 (GCSE-optimization causes enormous binary size increase (~20 times !))
* PR rtl-optimization/39077 * doc/invoke.texi (max-gcse-insertion-ratio): Document. * params.h (MAX_GCSE_INSERTION_RATIO): Define. * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. * gcse.c (prune_insertions_deletions): New function. (compute_pre_data): Use it. From-SVN: r168747
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e5ba12c..0a1625f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1,5 +1,5 @@
@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-@c 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+@c 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
@c Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@@ -8227,6 +8227,11 @@ order to perform the global common subexpression elimination
optimization. If more memory than specified is required, the
optimization will not be done.
+@item max-gcse-insertion-ratio
+If the ratio of expression insertions to deletions is larger than this value
+for any expression, then RTL PRE will insert or remove the expression and thus
+leave partially redundant computations in the instruction stream. The default value is 20.
+
@item max-pending-list-length
The maximum number of pending dependencies scheduling will allow
before flushing the current state and starting over. Large functions