diff options
author | Richard Biener <rguenther@suse.de> | 2021-01-29 13:58:28 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-01-29 14:01:21 +0100 |
commit | 0833e3e1ff14d2e1847373d770887b11e89a623c (patch) | |
tree | 6d04dde819c5a53c0275767e04a3db31d4baee5f /gcc/params.opt | |
parent | cb52e59e33845152cef6f9042a142a246e9447f6 (diff) | |
download | gcc-0833e3e1ff14d2e1847373d770887b11e89a623c.zip gcc-0833e3e1ff14d2e1847373d770887b11e89a623c.tar.gz gcc-0833e3e1ff14d2e1847373d770887b11e89a623c.tar.bz2 |
change unit of --param max-gcse-memory to kB
This changes it from bytes to kB since its value is limited to
2147483648.
2021-01-29 Richard Biener <rguenther@suse.de>
* doc/invoke.texi (--param max-gcse-memory): Document unit
of size.
* gcse.c (gcse_or_cprop_is_too_expensive): Adjust.
* params.opt (--param max-gcse-memory): Adjust default and
document unit of size.
Diffstat (limited to 'gcc/params.opt')
-rw-r--r-- | gcc/params.opt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/params.opt b/gcc/params.opt index cfed980..dff8a33 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -514,8 +514,8 @@ Common Joined UInteger Var(param_max_gcse_insertion_ratio) Init(20) Param Optimi The maximum ratio of insertions to deletions of expressions in GCSE. -param=max-gcse-memory= -Common Joined UInteger Var(param_max_gcse_memory) Init(134217728) Param Optimization -The maximum amount of memory to be allocated by GCSE. +Common Joined UInteger Var(param_max_gcse_memory) Init(131072) Param Optimization +The maximum amount of memory to be allocated by GCSE, in kilobytes. -param=max-goto-duplication-insns= Common Joined UInteger Var(param_max_goto_duplication_insns) Init(8) Param Optimization |