comparison gcc/testsuite/gcc.dg/vect/vect-76-big-array.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
11 more involved than just an ssa_name. */ 11 more involved than just an ssa_name. */
12 12
13 int ib[N+OFF] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))) = {0, 1, 3, 5, 7, 11, 13, 17}; 13 int ib[N+OFF] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))) = {0, 1, 3, 5, 7, 11, 13, 17};
14 int ic[N+OFF] = {0, 1, 3, 5, 7, 11, 13, 17}; 14 int ic[N+OFF] = {0, 1, 3, 5, 7, 11, 13, 17};
15 15
16 volatile int y = 0;
17
18 __attribute__ ((noinline)) 16 __attribute__ ((noinline))
19 int main1 (int *pib) 17 int main1 (int *pib)
20 { 18 {
21 int i; 19 int i;
22 int ia[N+OFF]; 20 int ia[N+OFF];
23 for (i = OFF; i < N+OFF; i++) 21 for (i = OFF; i < N+OFF; i++)
24 { 22 {
25 ib[i] = ib[i%8]*(i/8); 23 ib[i] = ib[i%8]*(i/8);
26 ic[i] = ic[i%8]*(i/8); 24 ic[i] = ic[i%8]*(i/8);
27 if (y) 25 asm volatile ("" ::: "memory");
28 abort ();
29 } 26 }
30 27
31 for (i = OFF; i < N; i++) 28 for (i = OFF; i < N; i++)
32 { 29 {
33 ia[i] = pib[i - OFF]; 30 ia[i] = pib[i - OFF];