aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vect/pr56920.c
blob: c6c7cca0f4104f59a44ef7d8e5e77e97185141c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* PR tree-optimization/56920 */
/* { dg-additional-options "-O3" } */

#include "tree-vect.h"

extern void abort (void);

int
main ()
{
  unsigned int a[15], i;
  check_vect ();
  for (i = 0; i < 15; ++i)
    a[i] = (i * 2) % 15;
  for (i = 0; i < 15; ++i)
    if (a[i] != (i * 2) % 15)
      abort ();
  return 0;
}

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