summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr40934.c
blob: 41f46f881144a3ff52fae5f35226b2d529586ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=i586 -ffast-math" } */

extern double host_frametime;
extern float pitchvel;
V_DriftPitch (float delta, float move)
{
  if (!delta)
    move = host_frametime;
  if (delta > 0)
    ;
  else if (delta < 0 && move > -delta)
    pitchvel = 0;
}