aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr69083.c
blob: dd8b347333e345495a4b699927cfabb368bd37f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* PR tree-optimization/69083 */
/* { dg-do compile } */
/* { dg-additional-options "-O3" } */

int d;
short f;

void
foo (int a, int b, int e, short c)
{
  for (; e; e++)
    {
      int j;
      for (j = 0; j < 3; j++)
	{
	  f = 7 >> b ? a : b;
	  d |= c == 1 ^ 1 == f;
	}
    }
}