PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr55008.c
blob32af32a80440bb891eb198c45b1b121735817b42
1 /* This used to fail to compile; see PR55008. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -w" } */
5 typedef unsigned long long T;
7 void f(void)
9 int a, *p;
11 T b = 6309343725;
13 if(*p ? (b = 1) : 0)
14 if(b - (a = b /= 0) ? : (a + b))
15 while(1);