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] - Rev 774

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

typedef struct {
    int dummy;
    int width, height;           
} XWindowAttributes;
 
typedef struct {
    short x, y;
} XPoint;
 
extern unsigned int ya_random (void);
extern int XDrawPoints(XPoint*, int);
 
static int iterations, offset;
static int  xsym, ysym;
 
static void
hurm (void)
{
  XWindowAttributes xgwa;
  int xlim, ylim, x, y, i;
  XPoint points [4];
 
 
  for (i = 0; i < iterations; i++)
    {
      int j = 0;
      j++;
      if (xsym)
        {
          points [j].x = xlim - x;
          j++;
        }
      points [j].x = x;
      j++;
    }
}
 
 

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

powered by: WebSVN 2.1.0

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