view gcc/testsuite/gcc.dg/20001228-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { 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;
}