aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr117594.c
blob: ab213908bbc9d007bd28d2d63e258a403a9e8ebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-require-effective-target int32plus } */

#include "tree-vect.h"

unsigned a;
short b, d, e;
int main()
{
  check_vect ();
  short h = d;
  short *z = &h;
  for (_Bool i = 0; i < 1; i = 1)
    for (unsigned j = 0; j < (z[i] ?: 10); j += 3)
      {
	a -= 9;
	b -= ~e;
      }
  if (a != 4294967260)
    __builtin_abort ();
}