This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/48141] [4.4/4.5/4.6/4.7 Regression] DSE compile time hog
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Mar 2011 12:36:20 +0000
- Subject: [Bug rtl-optimization/48141] [4.4/4.5/4.6/4.7 Regression] DSE compile time hog
- Auto-submitted: auto-generated
- References: <bug-48141-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48141
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-17 12:36:09 UTC ---
Author: jakub
Date: Thu Mar 17 12:36:04 2011
New Revision: 171090
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171090
Log:
PR rtl-optimization/48141
* params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New.
* dse.c: Include params.h.
(active_local_stores_len): New variable.
(add_wild_read, dse_step1): Clear it when setting active_local_stores
to NULL.
(record_store, check_mem_read_rtx): Decrease it when removing
from the chain.
(scan_insn): Likewise. Increase it when adding to chain, if it
reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and
set active_local_stores to NULL before the addition.
* Makefile.in (dse.o): Depend on $(PARAMS_H).
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/dse.c
trunk/gcc/params.def