Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr69238.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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 } |