view gcc/testsuite/gcc.dg/graphite/pr84552.c @ 131:84e7813d76e9

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

/* { dg-do compile } */
/* { dg-options "-O2 -floop-nest-optimize -fno-tree-copy-prop -fno-tree-fre -fno-tree-loop-ivcanon" } */

int cx;

int
e6 (int pj, int xe)
{
  for (cx = 0; cx < 2; ++cx)
    while (xe < 1)
      {
	for (cx = 0; cx < 2; ++cx)
	  pj *= 2;

	if (cx != 0)
	  goto o3;

	++xe;
      }

o3:
  return pj;
}