Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr47677.c
blobbd9077863c5d160fa18cbad04d161703eab2f232
1 /* { dg-do compile } */
3 struct S { int s; int u; };
4 extern int bar (void);
5 extern struct S *baz (void);
7 void
8 foo (int x, struct S *y, char z, int *v, struct S *s)
10 int c, d;
11 if (x & 2)
12 d = 1;
13 else
15 d = (x & 1) ? 11 : 0;
16 while ((c = (s->s != (s->u & 1) ? s->s : bar ())) != '\0');
17 c = (s->s != '\\' && (s->u & 4) ? s->s : bar ());
18 if (c == '<')
19 goto lab;
21 while ((c = ((s->u & 1) ? s->s : bar ())) != 0
22 && ((d != 11 && d != 17) || (v[c] & 1) == 0))
24 lab:;
25 switch (d)
27 case 14:
28 if (c == '}')
29 y = baz ();
30 d = y->s = z == '<' ? 17 : 11;