Fix PR47653: do not handle loops using wrapping semantics in graphite
authorSebastian Pop <sebastian.pop@amd.com>
Tue, 26 Jul 2011 18:48:08 +0000 (18:48 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Tue, 26 Jul 2011 18:48:08 +0000 (18:48 +0000)
commitcbc1994b2f3fee67209b7476f62ea698902e39f3
tree717f3710390fd5f55896b7b7ad3148282cc98438
parent4c7d675552917db06371e5316b6a170b246a0653
Fix PR47653: do not handle loops using wrapping semantics in graphite

2011-07-26  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/47653
* graphite-scop-detection.c (graphite_can_represent_loop): Discard
loops using wrapping semantics.

* gcc.dg/graphite/run-id-pr47653.c: New.
* gcc.dg/graphite/interchange-3.c: Do not use unsigned types for
induction variables.
* gcc.dg/graphite/scop-16.c: Same.
* gcc.dg/graphite/scop-17.c: Same.
* gcc.dg/graphite/scop-21.c: Same.

From-SVN: r176802
gcc/ChangeLog
gcc/graphite-scop-detection.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/interchange-3.c
gcc/testsuite/gcc.dg/graphite/run-id-pr47653.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/graphite/scop-16.c
gcc/testsuite/gcc.dg/graphite/scop-17.c
gcc/testsuite/gcc.dg/graphite/scop-21.c
libgomp/testsuite/libgomp.graphite/force-parallel-1.c