Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / asan / pr99168.c
blobed59ffb3d48d6a1dcb53d990515be47471b6f140
1 /* PR sanitizer/99168 */
2 /* { dg-do run } */
4 struct my_struct
6 unsigned long volatile x;
7 } __attribute__((aligned(128)));
9 static int variablek[5][6] = {};
10 static struct my_struct variables1 = {0UL};
11 static struct my_struct variables2 __attribute__((aligned(32))) = {0UL};
13 int main() {
14 int i, j;
15 for (i = 0; i < 5; i++) {
16 for (j = 0; j < 6; j++) {
17 __builtin_printf("%d ", variablek[i][j]);
20 __builtin_printf("\n");
22 __builtin_printf("%lu\n", variables1.x);
23 __builtin_printf("%lu\n", variables2.x);
25 return 0;