]>
Commit | Line | Data |
---|---|---|
45ccb5c4 | 1 | /* { dg-do compile } */ |
90cd5b21 | 2 | /* { dg-require-effective-target label_values } */ |
45ccb5c4 | 3 | |
4 | typedef __INTPTR_TYPE__ intptr_t; | |
5 | intptr_t a, b, c, d; | |
6 | int foo (void) { return 0; } | |
7 | int baz (void); | |
8 | ||
9 | void | |
10 | bar (void) | |
11 | { | |
12 | intptr_t g = (intptr_t) &&h; | |
13 | void *i = &&j, *k = &&l; | |
14 | j: | |
15 | if (baz ()) | |
16 | { | |
17 | intptr_t **n = (intptr_t **) &a; | |
18 | l: | |
19 | b = 0; | |
20 | for (; b >= 0;) | |
21 | goto *k; | |
22 | h: | |
23 | **n = 0; | |
24 | for (;;) | |
25 | { | |
26 | intptr_t *o = &c; | |
27 | g = foo (); | |
28 | *o = g; | |
29 | if (c) | |
30 | goto *d; | |
31 | } | |
32 | } | |
33 | goto *i; | |
34 | } |