1/* PR middle-end/48973 */
2
3extern void abort (void);
4struct S { int f : 1; } s;
5int v = -1;
6
7void
8foo (unsigned int x)
9{
10  if (x != -1U)
11    abort ();
12}
13
14int
15main ()
16{
17  s.f = (v & 1) > 0;
18  foo (s.f);
19  return 0;
20}
21