aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr84860.c
blob: 002737c71b567ce9fc4abffeaf4d7878bbcbff9c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR target/84860 */

void
foo (int x, int y)
{
  while (x < 1)
    {
      x = y;
      y = ((float)1 / 0) ? 2 : 0;
    }
}