[Bug middle-end/40460] [4.3/4.4/4.5 Regression] Enormous memory usage during compilation with -O2 or -O3 optimizations.

2009-06-16 Thread rguenth at gcc dot gnu dot org


--- Comment #5 from rguenth at gcc dot gnu dot org  2009-06-16 14:36 ---
Obviously a regression against pre-tree-ssa.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to work||3.3.6
Summary|Enormous memory usage during|[4.3/4.4/4.5 Regression]
   |compilation with -O2 or -O3 |Enormous memory usage during
   |optimizations.  |compilation with -O2 or -O3
   ||optimizations.
   Target Milestone|--- |4.3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40460



[Bug middle-end/40460] [4.3/4.4/4.5 Regression] Enormous memory usage during compilation with -O2 or -O3 optimizations.

2009-06-17 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2009-06-17 10:26 ---
Subject: Bug 40460

Author: rguenth
Date: Wed Jun 17 10:26:24 2009
New Revision: 148593

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148593
Log:
2009-06-17  Richard Guenther  

PR middle-end/40460
* tree-chrec.h (build_polynomial_chrec): If we cannot determine
if there is no evolution of left in the loop bail out.
* tree-chrec.c (chrec_fold_multiply_poly_poly): CSE one
chrec_fold_multiply.

* g++.dg/torture/pr40460.C: New testcase.

Added:
trunk/gcc/testsuite/g++.dg/torture/pr40460.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-chrec.c
trunk/gcc/tree-chrec.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40460