aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorBrad Lucier <lucier@math.purdue.edu>2015-11-12 22:27:47 +0000
committerJeff Law <law@gcc.gnu.org>2015-11-12 15:27:47 -0700
commit87d8dd6c4599c09fe4da43adac523cf81613217c (patch)
treee20097f88c7d396bf5c26e3833485b6bb7294026 /gcc/params.def
parent6e232ba4246ca324a663ec5ddf0ba4db5cf3fbad (diff)
downloadgcc-87d8dd6c4599c09fe4da43adac523cf81613217c.zip
gcc-87d8dd6c4599c09fe4da43adac523cf81613217c.tar.gz
gcc-87d8dd6c4599c09fe4da43adac523cf81613217c.tar.bz2
[PATCH] Make disabled-optimization warning more informative; increase default max-gcse-memory
* gcc/cprop.c (is_too_expensive): Remove. (gcse.h): Include. (one_cprop_pass): Call gcse_or_cprop_is_too_expensive, not is_too_expensive. * gcc/gcse.h (gcse_or_cprop_is_too_expensive): Declare. * gcc/gcse.c (is_too_expensive): Rename to ... (gcse_or_cprop_is_too_expensive): ... this. Expand warning to add required size of max-gcse-memory. (one_pre_gcse_pass): Use it. (one_code_hoisting_pass): Use it. * gcc/params.def (max-gcse-memory): Increase from 50MB to 128MB. From-SVN: r230276
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/params.def b/gcc/params.def
index c5d96e7..41fd8a8 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -218,7 +218,7 @@ DEFPARAM(PARAM_STACK_FRAME_GROWTH,
DEFPARAM(PARAM_MAX_GCSE_MEMORY,
"max-gcse-memory",
"The maximum amount of memory to be allocated by GCSE.",
- 50 * 1024 * 1024, 0, 0)
+ 128 * 1024 * 1024, 0, 0)
/* The GCSE optimization of an expression will avoided if the ratio of
insertions to deletions is greater than this value. */