]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/40460 (Enormous memory usage during compilation with -O2 or -O3...
authorRichard Guenther <rguenther@suse.de>
Wed, 17 Jun 2009 12:00:40 +0000 (12:00 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 17 Jun 2009 12:00:40 +0000 (12:00 +0000)
commitbb5dcf93599876def7c492ee66e9d0a273bd82e5
treee7b3a2a53db843f70a081895f25ad800f366365e
parentee2ed493617b8b4ff058f0934c4f3571d2516401
re PR middle-end/40460 (Enormous memory usage during compilation with -O2 or -O3 optimizations.)

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.

From-SVN: r148603
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr40460.C [new file with mode: 0644]
gcc/tree-chrec.c
gcc/tree-chrec.h