summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr27136.c
blob: 32b7bf123ef7d3dbfbe82ea5929735c4ba9abc01 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-ffast-math" } */

void foo()
{
  double x;

  for (x = 2; x < 10; x *= x)
    ;
}