aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr64495.c
blob: c48f9389aa325a8b8ceb5697684f563b8c13a72d (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
33
#include <assert.h>
#include "tree-vect.h"

int a, b, c, d, e, f, g, i, j;
static int *h = &e;

int
main ()
{
  check_vect ();

  for (; a;)
    for (; g; g++)
#pragma GCC novector
      for (; f; f++)
	if (j)
	  {
	    assert(b); 
	    assert(0);
	  }
  for (i = 24; i; i--)
    {
      for (c = 0; c < 6; c++)
	d |= 1;
      *h |= d;
    }

  if (e != 1) 
    __builtin_abort (); 

  return 0;
}