Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/20001228-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-ffast-math -O2" } */ | |
3 | |
4 typedef struct | |
5 { | |
6 float vs_data[75], vs_peak[75], vs_peak_speed[75]; | |
7 int vs_refresh_delay; | |
8 int vs_doublesize; | |
9 } Vis; | |
10 | |
11 void vis_timeout_func(Vis * vis) | |
12 { | |
13 if (vis->vs_peak[0] < 0.0) | |
14 vis->vs_peak[0] = 0.0; | |
15 } | |
16 |