]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/90021 (ICE in index_in_loop_nest, at tree-data-ref.h:587...
authorBin Cheng <bin.cheng@linux.alibaba.com>
Tue, 23 Apr 2019 03:54:59 +0000 (03:54 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 23 Apr 2019 03:54:59 +0000 (03:54 +0000)
commit9e14603dfeba1fc1d54f2373de20eea7469ee0c3
treef859612eaba12970593f1be51bca49c98d577ba7
parent6e8fc175bda51464ac124fcf20df62fd19801203
re PR tree-optimization/90021 (ICE in index_in_loop_nest, at tree-data-ref.h:587 since r270203)

PR tree-optimization/92001
* tree-chrec.c (evolution_function_is_univariate_p): New parameter
and check univariate against it.
* tree-chrec.h (evolution_function_is_univariate_p): New parameter.
* tree-data-ref.c (add_other_self_distances): Pass new argument.

gcc/testsuite
* gcc/testsuite/gfortran.dg/pr90021.f90: New test.

From-SVN: r270499
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr90021.f90 [new file with mode: 0644]
gcc/tree-chrec.c
gcc/tree-chrec.h
gcc/tree-data-ref.c