view gcc/testsuite/gcc.dg/pr71077.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR c++/71077  */
/* { dg-do compile } */
/* { dg-options "-O3" } */
/* { dg-additional-options "-mavx2" { target { i?86-*-* x86_64-*-* } } } */

void
foo (int *a, int n)
{
  int b, c;
  for (b = 0; b < n; b++)
    for (c = 0; c < 32; c++)
      if ((b & 1U) << c)
	a[b + c] = 0;
}