aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr92555.c
blob: b174e1c612e470b5193621b4250fa7fe8e6d2f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-do compile } */
/* { dg-additional-options "-fwrapv" } */

signed char rq;

signed char
pu (int tr, int al)
{
  signed char x8;

  while (tr != 0)
    {
      for (x8 = 0; x8 >= 0; x8 += 2)
        ;

      rq ^= al ^ 1;
      ++x8;
      ++tr;
    }

  return x8;
}