aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vect/pr27151.c
blob: 81f89b1a7e44181017a85ea0bc11f750ebdfd310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */

/* We were creating a float vector for the vis_type == 1
   test, which we ICEd on.  Now we simply punt here.  */

float vs_data[75];
void vis_clear_data ()
{
  int vis_type, i;
  for (i = 0; i < 75; i++)
    {
      vs_data[i] = (vis_type == 1);
    }
}

/* { dg-final { cleanup-tree-dump "vect" } } */