1 /* PR middle-end/67512 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O -Wuninitialized" } */ 4 5 extern int fn2 (void); 6 extern int fn3 (int); 7 void fn1(void)8fn1 (void) 9 { 10 int z, m; 11 if (1 & m) /* { dg-warning "is used uninitialized" } */ 12 z = fn2 (); 13 z = 1 == m ? z : 2 == m; 14 fn3 (z); 15 } 16