1 /* PR target/59923 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_thumb2_ok } */
4 /* { dg-options "-O2 -mcpu=cortex-a15 -fno-strict-aliasing -mthumb -g" } */
5 
6 struct S
7 {
8   void *s;
9   struct T { unsigned short a; unsigned char b[4], c[4]; } *t;
10 } s;
11 void bar (void *);
12 
13 void
foo(struct S * x,int * y)14 foo (struct S *x, int *y)
15 {
16   if (*y > 0)
17     return;
18   else if (x->t->b[0] == 0x43 && x->t->b[1] == 0x6d && x->t->c[0] == 1)
19     x->s = &s;
20   else
21     *y = 16384;
22   if (*y > 0)
23     bar (x);
24 }
25