Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-23.c
blobd64eb7d2ee9c893e80aaa112c0adbf61a68c392d
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;
24 if (ij != 0)
25 goto l1;