http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52621
--- Comment #14 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-06 09:20:25 UTC --- Author: rguenth Date: Fri Jul 6 09:20:19 2012 New Revision: 189312 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189312 Log: 2012-07-06 Richard Guenther <rguent...@suse.de> Backport from mainline 2012-04-11 Richard Guenther <rguent...@suse.de> PR middle-end/52621 * tree-chrec.c (evolution_function_is_invariant_rec_p): Properly consider loop nesting. (evolution_function_is_univariate_p): Properly check the remainder for chrecs. * gfortran.dg/pr52621.f90: New testcase. Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/pr52621.f90 Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/tree-chrec.c