comparison gcc/testsuite/gcc.dg/torture/pr84811.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile { target lp64 } } */
2
3 int a;
4 long b[1][9];
5 typedef long V __attribute__((vector_size (16), may_alias));
6
7 void
8 foo ()
9 {
10 V *c = (V *) ((char *) b + -9060696663385964544);
11 *c = (V) { 1, 1 };
12 c++;
13 *c = (V) { 1, 1 };
14 c++;
15 *c = (V) { 1, 1 };
16 c++;
17 *c = (V) { 1, 1 };
18 long __attribute__((may_alias)) *d = (long *) ((char *) b + 162675373468811328);
19 *d = 1;
20 }