view gcc/testsuite/gcc.dg/graphite/pr34017.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 "-O2 -ftree-loop-linear" } */

extern int s;

void
foo (int *x, int y, int z)
{
 int m, n;
 int o;
 int p = x[0];
 o = s;
 for (m = 0; m < s; m++)
   for (n = 0; n < s; n++)
     {
       if (x[n] != p)
         continue;
       if (m > z)
         z = m;
       if (n < o)
         o = n;
     }
 for (m = y; m <= z; m++)
   {
   }
}