libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gcc.dg / pr59920-2.c
blobbee5542748b0cb3c491f064ec900432f117d384a
1 /* PR tree-optimization/59920 */
2 /* { dg-do compile } */
3 /* { dg-options "-O0" } */
5 void *bar (void **);
6 void *baz (int, void **);
8 #define A(n) \
9 { __label__ l1_##n, l2_##n, l3_##n; \
10 static void *a[] = { &&l1_##n, &&l2_##n, &&l3_##n };\
11 void *b = bar (a); \
12 goto *b; \
13 l1_##n: \
14 b = baz (1, a); \
15 goto *b; \
16 l2_##n: \
17 b = baz (2, a); \
18 goto *b; \
19 l3_##n:; \
21 #define B(n) A(n##0) A(n##1) A(n##2) A(n##3) A(n##4) \
22 A(n##5) A(n##6) A(n##7) A(n##8) A(n##9)
23 #define C(n) B(n##0) B(n##1) B(n##2) B(n##3) B(n##4) \
24 B(n##5) B(n##6) B(n##7) B(n##8) B(n##9)
26 void
27 foo (void)
29 C(1)