1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/* { dg-do compile } */ int a, b; long c; void foo(int); void f2(void) { unsigned long k = 1; foo(b ? k = 0 : 0); b = ((c = b) ? (k ? : (c = 0)) : a) * c; } void f1(void) { f2(); a = b | c; }