tree-if-conv.c: fix ICE seen with -fno-tree-forwprop (PR tree-optimization/84178)
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr84178-1.c
blob49f2c893054f1b3b4405942b95c0b24cfad245e5
1 /* { dg-options "-fno-tree-forwprop" } */
3 int zy, h4;
5 void
6 r8 (long int mu, int *jr, int *fi, short int dv)
8 do
10 int tx;
12 tx = !!h4 ? (zy / h4) : 1;
13 mu = tx;
14 *jr = (((unsigned char) mu > (254 >> dv)) ? 0 : (unsigned char) tx) + *fi;
15 } while (*jr == 0);
17 r8 (mu, jr, fi, 1);