view gcc/testsuite/gcc.dg/graphite/pr68756.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

/* { dg-do compile } */
/* { dg-options "-O1 -floop-nest-optimize" } */

unsigned int z4, pz;
int nn[2];

static unsigned int
xq (unsigned int dj)
{
  return dj > 1 ? z4 : z4 + dj;
}

void
la (void)
{
  int hd, dl;
  unsigned int hn = 0;

  for (hd = 0; hd < 2; ++hd)
    {
      for (dl = 0; dl < 2; ++dl)
	nn[dl] = 0;
      --hn;
      pz = xq (hn);
    }
}