OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20001228-1.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { 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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.