This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r148603 - in /branches/gcc-4_3-branch/gcc: Chan...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 17 Jun 2009 12:00:42 -0000
- Subject: r148603 - in /branches/gcc-4_3-branch/gcc: Chan...
Author: rguenth
Date: Wed Jun 17 12:00:40 2009
New Revision: 148603
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148603
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_3-branch/gcc/testsuite/g++.dg/torture/pr40460.C
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/tree-chrec.c
branches/gcc-4_3-branch/gcc/tree-chrec.h