view gcc/testsuite/gcc.dg/vect/pr56920.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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;
}