Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/vect/pr42709.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 |
---|---|
7 #define N 128 | 7 #define N 128 |
8 | 8 |
9 int *res[N]; | 9 int *res[N]; |
10 | 10 |
11 int | 11 int |
12 main1 (int *a, int *b, int *c, int *d, int dummy) | 12 main1 (int *a, int *b, int *c, int *d) |
13 { | 13 { |
14 int i; | 14 int i; |
15 | 15 |
16 for (i = 0; i < N/2; i+=4) | 16 for (i = 0; i < N/2; i+=4) |
17 { | 17 { |
18 res[i] = a + 16; | 18 res[i] = a + 16; |
19 res[i+1] = b + 16; | 19 res[i+1] = b + 16; |
20 res[i+2] = c + 16; | 20 res[i+2] = c + 16; |
21 res[i+3] = d + 16; | 21 res[i+3] = d + 16; |
22 if (dummy == 32) | 22 asm volatile ("" ::: "memory"); |
23 abort (); | |
24 } | 23 } |
25 } | 24 } |
26 | 25 |
27 | 26 |