view gcc/testsuite/gcc.dg/vect/pr59519-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR tree-optimization/59519 */
/* { dg-do compile } */
/* { dg-additional-options "-O3" } */

struct S { int f0; } d;
int a[8] = { 0 }, b, c, e;

void
foo (void)
{
  for (; e < 1; e++)
    for (b = 0; b < 7; b++)
      {
	c |= (a[b + 1] != 0);
	if (d.f0)
	  break;
      }
}