PR target/83368
[official-gcc.git] / gcc / testsuite / gcc.dg / pr69238.c
blob3538e634429707bcdd2cfec68a7c4e5e49a776b5
1 /* { dg-do run } */
2 /* { dg-options "-O2 -fno-dce -fno-forward-propagate -fno-rerun-cse-after-loop -funroll-loops" } */
5 #define N 32
7 short sa[N];
8 short sb[N];
9 int ia[N];
10 int ib[N];
12 int __attribute__ ((noinline, noclone))
13 main1 (int n)
15 int i;
16 for (i = 0; i < n; i++)
18 sa[i+7] = sb[i];
19 ia[i+3] = ib[i+1];
21 return 0;
24 int
25 main (void)
27 return main1 (N-7);