summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/pr42244.c
blob: ff2542873363dab7a02d0918db8f58d59f5bf772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR debug/42444 */
/* { dg-do compile } */
/* { dg-options "-O2 -g -fmodulo-sched -ffloat-store" } */

extern int a, b;

double
foo (double x)
{
  for (; a > b; a--)
    x *= (double) a;
  return x;
}