http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52621
--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-11 14:04:23 UTC --- Author: rguenth Date: Wed Apr 11 14:04:00 2012 New Revision: 186321 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186321 Log: 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: trunk/gcc/testsuite/gfortran.dg/pr52621.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-chrec.c