8sa1-gcc/gcc/testsuite/gcc.dg/20001228-1.c
Geoffrey Keating f33f0c3a01 * gcc.dg/20001228-1.c: New test.
From-SVN: r38518
2000-12-28 23:56:49 +00:00

17 lines
283 B
C

/* { dg-do compile } */
/* { dg-options "-ffast-math -O2" } */
typedef struct
{
float vs_data[75], vs_peak[75], vs_peak_speed[75];
int vs_refresh_delay;
int vs_doublesize;
} Vis;
void vis_timeout_func(Vis * vis)
{
if (vis->vs_peak[0] < 0.0)
vis->vs_peak[0] = 0.0;
}