diff options
author | Jan Hubicka <jh@suse.cz> | 2005-11-05 01:55:23 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-11-05 00:55:23 +0000 |
commit | 95b9a3a55c158fc87ac4164d87fdccaa33bfa8df (patch) | |
tree | 2528946d7ea31c1a4553fc28e301db2d6bfac0d1 /gcc/cse.c | |
parent | 50fe876da0e0792b5cf55d7eba7dd30f0efbf1de (diff) | |
download | gcc-95b9a3a55c158fc87ac4164d87fdccaa33bfa8df.zip gcc-95b9a3a55c158fc87ac4164d87fdccaa33bfa8df.tar.gz gcc-95b9a3a55c158fc87ac4164d87fdccaa33bfa8df.tar.bz2 |
re PR rtl-optimization/23490 (Long compile time for array initializer with inlined constructor)
PR rtl-optimization/23490
* doc/invoke.texi (max-predicted-iterations, max-cse-insns,
max-flow-memory-location): Document.
* flow.c: Include params.h
(MAX_MEM_SET_LIST_LEN): Kill.
(add_to_mem_set_list): Use new param.
* cse.c (cse_basic_block): Replace 1000 by new param.
* params.def (PARAM_MAX_PREDICTED_ITERATIONS, PARAM_MAX_CSE_INSNS,
PARAM_MAX_FLOW_MEMORY_LOCATIONS): New.
* predict.c (predict_loops): Use new param.
* predict.def (MAX_PRED_LOOP_ITERATIONS): Remove.
From-SVN: r106520
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6890,7 +6890,7 @@ cse_basic_block (rtx from, rtx to, struct branch_path *next_branch) ??? This is a real kludge and needs to be done some other way. Perhaps for 2.9. */ - if (code != NOTE && num_insns++ > 1000) + if (code != NOTE && num_insns++ > PARAM_VALUE (PARAM_MAX_CSE_INSNS)) { flush_hash_table (); num_insns = 0; |