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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20011109-1.c] - Diff between revs 297 and 338

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

Rev 297 Rev 338
typedef struct { short x[4]; } S;
typedef struct { short x[4]; } S;
typedef struct { unsigned int a, b, c; S *d; } T;
typedef struct { unsigned int a, b, c; S *d; } T;
 
 
S *(*foo) (T *, int, int, int, int);
S *(*foo) (T *, int, int, int, int);
unsigned short *(*bar)(const T *);
unsigned short *(*bar)(const T *);
unsigned short baz(T *,const int);
unsigned short baz(T *,const int);
 
 
T *die (void)
T *die (void)
{
{
  typedef struct { unsigned int a, b, e; double f, g; } U;
  typedef struct { unsigned int a, b, e; double f, g; } U;
 
 
  char h[8], i[2053], j[2053];
  char h[8], i[2053], j[2053];
  double k, l, m;
  double k, l, m;
  U n;
  U n;
  T *o;
  T *o;
  unsigned short p;
  unsigned short p;
  int q, r;
  int q, r;
  long s;
  long s;
  unsigned short *t;
  unsigned short *t;
  S *u;
  S *u;
  unsigned char *v, *w;
  unsigned char *v, *w;
  unsigned int x;
  unsigned int x;
 
 
  o = 0;
  o = 0;
  for (x = 0; x < n.e; x++)
  for (x = 0; x < n.e; x++)
    {
    {
      l = 1.0;
      l = 1.0;
      if (n.g - n.f <= 1.0)
      if (n.g - n.f <= 1.0)
        l = ((1 << o->c) - 1) / (n.g - n.f);
        l = ((1 << o->c) - 1) / (n.g - n.f);
      v = w;
      v = w;
      for (r = o->b - 1; r >= 0; r--)
      for (r = o->b - 1; r >= 0; r--)
        {
        {
          u = foo (o, 0, r, o->a, 1);
          u = foo (o, 0, r, o->a, 1);
          if (!u)
          if (!u)
            break;
            break;
          t = bar (o);
          t = bar (o);
          for (q = 0; q < (int) o->a; q++)
          for (q = 0; q < (int) o->a; q++)
            {
            {
              h[0] = *v;
              h[0] = *v;
              s = *v++;
              s = *v++;
              k = (double) s;
              k = (double) s;
              m = l*k;
              m = l*k;
              p = m < 0 ? 0 : m > (1 << o->c) - 1 ? (1 << o->c) - 1 : m + 0.5;
              p = m < 0 ? 0 : m > (1 << o->c) - 1 ? (1 << o->c) - 1 : m + 0.5;
              p = baz (o,p);
              p = baz (o,p);
              t[q] = p;
              t[q] = p;
              *u++ = o->d[p];
              *u++ = o->d[p];
            }
            }
        }
        }
    }
    }
  return o;
  return o;
}
}
 
 

powered by: WebSVN 2.1.0

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