]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/92046 (Command line options (that are per-functions) are affecting...
authorRichard Biener <rguenther@suse.de>
Mon, 14 Oct 2019 14:03:35 +0000 (14:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 14 Oct 2019 14:03:35 +0000 (14:03 +0000)
commitfc2d730302da5cdf340a5100882337a807097f47
tree65f3e0e6394e85f54af41bfd50cfafb1c0fc8c59
parentd2317d50ae2402e5335f2ed807a166359565566b
re PR middle-end/92046 (Command line options (that are per-functions) are affecting --params which are global.)

2019-10-14  Richard Biener  <rguenther@suse.de>

PR middle-end/92046
* dse.c (scan_insn): Use param max_active_local_stores.
(dse_step1): Get PARAM_MAX_DSE_ACTIVE_LOCAL_STORES and adjust
based on optimization level.
* loop-invariant.c (move_loop_invariants): Adjust
LOOP_INVARIANT_MAX_BBS_IN_LOOP based on optimization level.
* opts.c (default_options_optimization): Do not adjust
PARAM_MAX_DSE_ACTIVE_LOCAL_STORES and
LOOP_INVARIANT_MAX_BBS_IN_LOOP here.

From-SVN: r276963
gcc/ChangeLog
gcc/dse.c
gcc/loop-invariant.c
gcc/opts.c