* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-19.c
blobaa1b3fb6fe0b05eb82bcbfcc530649cc34fcf6dd
1 /* { dg-do compile } */
2 /* { dg-options "-O -Wuninitialized" } */
3 /* { dg-additional-options "-finline-small-functions" { target avr-*-* } } */
5 int a, l, m;
6 float *b;
7 float c, d, e, g, h;
8 unsigned char i, k;
9 void
10 fn1 (int p1, float *f1, float *f2, float *f3, unsigned char *c1, float *f4,
11 unsigned char *c2, float *p10)
13 if (p1 & 8)
14 b[3] = p10[a]; /* 14. */
17 void
18 fn2 ()
20 float *n;
21 if (l & 6)
22 n = &c + m;
23 fn1 (l, &d, &e, &g, &i, &h, &k, n); /* 23. */
26 /* { dg-warning "may be used uninitialized" "" { target { { nonpic } || { hppa*64*-*-* } } } 14 } */
27 /* { dg-warning "may be used uninitialized" "" { target { ! { { nonpic } || { hppa*64*-*-* } } } } 23 } */