Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-19.c
blob094dc0eb73d5a3fe3bc82fc82e82ca33982ed535
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];
15 /* { dg-warning "may be used uninitialized" "" { target { { nonpic } || { hppa*64*-*-* } } } .-1 } */
18 void
19 fn2 ()
21 float *n;
22 if (l & 6)
23 n = &c + m;
24 fn1 (l, &d, &e, &g, &i, &h, &k, n);
25 /* { dg-warning "may be used uninitialized" "" { target { ! { { nonpic } || { hppa*64*-*-* } } } } .-1 } */