summaryrefslogtreecommitdiffstats
path: root/polly/test/CodeGen/OpenMP/invalidate_subfn_scops.c
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/CodeGen/OpenMP/invalidate_subfn_scops.c')
-rw-r--r--polly/test/CodeGen/OpenMP/invalidate_subfn_scops.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/polly/test/CodeGen/OpenMP/invalidate_subfn_scops.c b/polly/test/CodeGen/OpenMP/invalidate_subfn_scops.c
new file mode 100644
index 00000000000..4054d059907
--- /dev/null
+++ b/polly/test/CodeGen/OpenMP/invalidate_subfn_scops.c
@@ -0,0 +1,11 @@
+#define N 500000
+float A[N];
+int main() {
+ int j, k;
+
+ for(k = 0; k < N; k++)
+ for (j = 0; j <= N; j++)
+ A[j] = k;
+
+ return 0;
+}
OpenPOWER on IntegriCloud