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

int a, b, c, d;

void
foo (void)
{
  for (; d; d++)
    for (b = 0; b < 14; b++)
      {
	c |= 1;
	if (a)
	  break;
      }
}

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