1 /* { dg-do compile } */
2 /* { dg-options "-Wuninitialized -O2" } */
8 int foo (int n
, int l
, int m
, int r
)
12 if ( (n
< 10) && (m
!= 100) && (r
< 20) )
19 if ( (n
<= 9) && (m
< 100) && (r
< 19) )
20 blah(v
); /* { dg-bogus "uninitialized" "bogus warning" { xfail *-*-* } } */
22 if ( (n
<= 8) && (m
< 99) && (r
< 19) )
23 blah(v
); /* { dg-bogus "uninitialized" "pr101674" { xfail mmix-*-* } } */
28 int foo_2 (int n
, int l
, int m
, int r
)
32 if ( (n
< 10) && (m
!= 100) && (r
< 20) )
39 if ( (n
<= 8) && (m
< 101) && (r
< 19) )
40 blah(v
); /* { dg-warning "uninitialized" "real warning" } */