view gcc/testsuite/gcc.dg/pr83506.c @ 157:dafe684d005c

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:08:54 +0900
parents 84e7813d76e9
children
line wrap: on
line source

/* PR ipa/83506 */
/* { dg-do compile { target pthread } } */
/* { dg-options "-O1 -ftree-parallelize-loops=2 -fno-ipa-pure-const" } */

unsigned int
foo (unsigned int x, int y)
{
  while (y < 1)
    {
      x *= 3;
      ++y;
    }
  return x;
}