Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / pr97164.c
blob8ffb9289449a2eb18961c998261ced9aba8375d0
1 /* PR tree-optimization/97164 */
2 /* { dg-do compile } */
4 typedef struct { int *a; char b[64]; } A __attribute__((aligned (64)));
5 struct B { A d[4]; } b; /* { dg-error "size of array element is not a multiple of its alignment" } */
6 void foo (void);
8 int *
9 bar (void)
11 struct B *h = &b;
12 if (h->d[1].a)
13 foo ();
14 return h->d[1].a;