summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr54094.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/graphite/pr54094.c')
-rw-r--r--gcc/testsuite/gcc.dg/graphite/pr54094.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/graphite/pr54094.c b/gcc/testsuite/gcc.dg/graphite/pr54094.c
new file mode 100644
index 00000000000..ee99110b89c
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/graphite/pr54094.c
@@ -0,0 +1,10 @@
+/* { dg-options "-O2 -floop-parallelize-all -floop-nest-optimize" } */
+void dwt_deinterleave_h(int *a, int *b, int dn, int sn, int cas)
+{
+ int i;
+ for (i=0; i<sn; i++)
+ b[i]=a[2*i+cas];
+ for (i=0; i<dn; i++)
+ b[sn+i]=a[(2*i+1-cas)];
+}
+