OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [990527-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
typedef struct {
2
    int dummy;
3
    int width, height;
4
} XWindowAttributes;
5
 
6
typedef struct {
7
    short x, y;
8
} XPoint;
9
 
10
extern unsigned int ya_random (void);
11
extern int XDrawPoints(XPoint*, int);
12
 
13
static int iterations, offset;
14
static int  xsym, ysym;
15
 
16
static void
17
hurm (void)
18
{
19
  XWindowAttributes xgwa;
20
  int xlim, ylim, x, y, i;
21
  XPoint points [4];
22
 
23
 
24
  for (i = 0; i < iterations; i++)
25
    {
26
      int j = 0;
27
      j++;
28
      if (xsym)
29
        {
30
          points [j].x = xlim - x;
31
          j++;
32
        }
33
      points [j].x = x;
34
      j++;
35
    }
36
}
37
 

powered by: WebSVN 2.1.0

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