2 /* { dg-do compile } */
3 /* { dg-options "-Wuninitialized -O2" } */
4 /* Pick a particular tuning to pin down BRANCH_COST. */
5 /* { dg-additional-options "-mtune=cortex-a15" { target arm*-*-* } } */
11 int foo (int n
, int l
, int m
, int r
)
21 if ( n
|| m
|| r
|| l
)
22 blah(v
); /* { dg-bogus "uninitialized" "bogus warning" } */
25 blah(v
); /* { dg-bogus "uninitialized" "bogus warning" } */
28 blah(v
); /* { dg-bogus "uninitialized" "bogus warning" } */
33 int foo_2 (int n
, int l
, int m
, int r
)
43 if ( n
|| m
|| r
|| l
)
44 blah(v
); /* { dg-warning "uninitialized" "warning" } */