PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / pr63551.c
blob225e323f2c614522d23669ecada4d96cad992f28
1 /* { dg-do run } */
2 /* { dg-options "-Os" } */
3 /* { dg-require-effective-target int32plus } */
5 union U
7 unsigned int f0;
8 int f1;
9 };
11 int a, d;
13 void
14 fn1 (union U p)
16 if (p.f1 <= 0)
17 if (a)
18 d = 0;
21 void
22 fn2 ()
24 d = 0;
25 union U b = { 4294967286U };
26 fn1 (b);
29 int
30 main ()
32 fn2 ();
33 return 0;