Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr69238.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do run } */ |
2 /* { dg-options "-O2 -fno-dce -fno-forward-propagate -fno-rerun-cse-after-loop -funroll-loops" } */ | |
3 | |
4 | |
5 #define N 32 | |
6 | |
7 short sa[N]; | |
8 short sb[N]; | |
9 int ia[N]; | |
10 int ib[N]; | |
11 | |
12 int __attribute__ ((noinline, noclone)) | |
13 main1 (int n) | |
14 { | |
15 int i; | |
16 for (i = 0; i < n; i++) | |
17 { | |
18 sa[i+7] = sb[i]; | |
19 ia[i+3] = ib[i+1]; | |
20 } | |
21 return 0; | |
22 } | |
23 | |
24 int | |
25 main (void) | |
26 { | |
27 return main1 (N-7); | |
28 } |