PR c/56980
[official-gcc.git] / gcc / testsuite / gcc.dg / pr59020.c
blob696c9df9ac16f4d0eb45bcdeafe4ccb537a7574e
1 /* PR rtl-optimization/59020 */
3 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
4 /* { dg-options "-O2 -fmodulo-sched -fno-inline -march=corei7" } */
6 int a, b, d;
7 unsigned c;
9 void f()
11 unsigned q;
12 for(; a; a++)
13 if(((c %= d && 1) ? : 1) & 1)
14 for(; b; q++);