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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [990527-1.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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