blob: bdaa8cbab2bdb2424de2e4630e0ab44951e5b62c [file] [log] [blame]
/* Copy of gcc.c-torture/compile/pr80443.c */
/* { dg-do compile } */
/* { dg-options "-O2 -fwrapv" } */
struct S { int a : 1; } b, c;
signed char d, e, f;
void
foo ()
{
while (f)
{
signed char g = b.a;
if (g)
b.a = ~(1 + (d || c.a));
if (b.a < g && b.a)
g = 0;
if (b.a > c.a)
b.a = g;
c.a = e;
}
}