]>
Commit | Line | Data |
---|---|---|
3135d8fe MP |
1 | /* PR tree-optimization/78455 */ |
2 | /* { dg-do compile } */ | |
3 | /* { dg-options "-O2 -Wuninitialized" } */ | |
4 | ||
5 | int ij; | |
6 | ||
7 | void | |
8 | ql (void) | |
9 | { | |
10 | int m5 = 0; | |
11 | ||
12 | for (;;) | |
13 | { | |
14 | if (0) | |
15 | for (;;) | |
16 | { | |
17 | int *go; | |
34e5c511 | 18 | int *t4 = go; /* { dg-warning "is used uninitialized" } */ |
3135d8fe MP |
19 | |
20 | l1: | |
66030d68 | 21 | *t4 = (*t4 != 0) ? 0 : 2; /* { dg-warning "is used uninitialized" } */ |
3135d8fe MP |
22 | } |
23 | ||
24 | if (ij != 0) | |
25 | goto l1; | |
26 | } | |
27 | } |