Match: Only allow single use of MIN_EXPR for SAT_TRUNC form 2 [PR115863]
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-23.c
blob87b4e989b5370a9fc3c4e4690e93dac7a85a682a
1 /* PR tree-optimization/78455 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Wuninitialized" } */
5 int ij;
7 void
8 ql (void)
10 int m5 = 0;
12 for (;;)
14 if (0)
15 for (;;)
17 int *go;
18 int *t4 = go; /* { dg-warning "is used uninitialized" } */
20 l1:
21 *t4 = (*t4 != 0) ? 0 : 2; /* { dg-warning "is used uninitialized" } */
24 if (ij != 0)
25 goto l1;