view gcc/testsuite/gcc.dg/pr87025.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
line wrap: on
line source

/* Ensure we don't ICE when tracking optimization record scopes within
   the vectorizer.  */
/* { dg-do compile } */
/* { dg-options "-O1 -fsave-optimization-record -ftree-vectorize -fno-tree-scev-cprop -fno-tree-sink" } */

void
fk (unsigned int sf)
{
  for (;;)
    {
      if (sf != 0)
        {
          while (sf != 0)
            ++sf;

          while (sf < 8)
            ++sf;
        }

      ++sf;
    }
}