[Bug middle-end/40460] [4.3/4.4 Regression] Enormous memory usage during compilation with -O2 or -O3 optimizations.
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 17 11:55:00 GMT 2009
------- Comment #8 from rguenth at gcc dot gnu dot org 2009-06-17 11:55 -------
Subject: Bug 40460
Author: rguenth
Date: Wed Jun 17 11:54:55 2009
New Revision: 148602
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148602
Log:
2009-06-17 Richard Guenther <rguenther@suse.de>
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:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr40460.C
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
branches/gcc-4_4-branch/gcc/tree-chrec.c
branches/gcc-4_4-branch/gcc/tree-chrec.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40460
More information about the Gcc-bugs
mailing list