aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr91623.c
blob: 94de4f91c6db8bf710c3cae8a175f5c2d9f01d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* PR middle-end/91623 */
/* { dg-do compile } */
/* { dg-options "-O3 -msse4.1 -mno-sse4.2" } */

typedef long long V __attribute__((__vector_size__(16)));
V e, h;
int d;
const int i;

void foo (void);

void
bar (int k, int l)
{
  if (d && 0 <= k - 1 && l)
    foo ();
}

void
baz (void)
{
  V n = (V) { 1 };
  V g = (V) {};
  V o = g;
  for (int f = 0; f < i; ++f)
    {
      V a = o == n;
      h = a;
      bar (f, i);
      o = e;
    }
}