OSDN Git Service

2012-07-06 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jul 2012 09:20:19 +0000 (09:20 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jul 2012 09:20:19 +0000 (09:20 +0000)
commit95ab56db804f6074f1ff004fc6714fcbe3997865
tree0b51da6746cf70747c18404f350c3a4a110927d8
parentf2c60cf2ed70e0d22a3b9031f43b3b72a65732ab
2012-07-06  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
2012-04-11  Richard Guenther  <rguenther@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189312 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr52621.f90 [new file with mode: 0644]
gcc/tree-chrec.c