diff options
author | Jeff Law <law@redhat.com> | 2011-01-13 06:41:03 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2011-01-13 06:41:03 -0700 |
commit | 29fa95ed577bb9080f25c4d3d8c694b40051e87a (patch) | |
tree | 63481903a2a1e2fc61101558fa5703b5c7af933d /gcc/params.h | |
parent | 71d12276670423b5a6bc35ba79feb481feed7c31 (diff) | |
download | gcc-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/params.h')
-rw-r--r-- | gcc/params.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/params.h b/gcc/params.h index 5aeb3ef..e36a5ea 100644 --- a/gcc/params.h +++ b/gcc/params.h @@ -1,5 +1,5 @@ /* params.h - Run-time parameters. - Copyright (C) 2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010 + Copyright (C) 2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Written by Mark Mitchell <mark@codesourcery.com>. @@ -142,6 +142,8 @@ extern void init_param_values (int *params); PARAM_VALUE (PARAM_MAX_PENDING_LIST_LENGTH) #define MAX_GCSE_MEMORY \ ((size_t) PARAM_VALUE (PARAM_MAX_GCSE_MEMORY)) +#define MAX_GCSE_INSERTION_RATIO \ + ((size_t) PARAM_VALUE (PARAM_MAX_GCSE_INSERTION_RATIO)) #define GCSE_AFTER_RELOAD_PARTIAL_FRACTION \ PARAM_VALUE (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION) #define GCSE_AFTER_RELOAD_CRITICAL_FRACTION \ |