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

Subversion Repositories openrisc

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

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

Rev 297 Rev 338
#if defined(STACK_SIZE) && (STACK_SIZE < 65536)
#if defined(STACK_SIZE) && (STACK_SIZE < 65536)
# define BYTEMEM_SIZE 10000L
# define BYTEMEM_SIZE 10000L
#endif
#endif
 
 
#ifndef BYTEMEM_SIZE
#ifndef BYTEMEM_SIZE
# define BYTEMEM_SIZE 45000L
# define BYTEMEM_SIZE 45000L
#endif
#endif
 
 
int bytestart[5000 + 1];
int bytestart[5000 + 1];
unsigned char modtext[400 + 1];
unsigned char modtext[400 + 1];
unsigned char bytemem[2][BYTEMEM_SIZE + 1];
unsigned char bytemem[2][BYTEMEM_SIZE + 1];
 
 
long
long
modlookup (int l)
modlookup (int l)
{
{
  signed char c;
  signed char c;
  long j;
  long j;
  long k;
  long k;
  signed char w;
  signed char w;
  long p;
  long p;
  while (p != 0)
  while (p != 0)
    {
    {
      while ((k < bytestart[p + 2]) && (j <= l) && (modtext[j] == bytemem[w][k]))
      while ((k < bytestart[p + 2]) && (j <= l) && (modtext[j] == bytemem[w][k]))
        {
        {
          k = k + 1;
          k = k + 1;
          j = j + 1;
          j = j + 1;
        }
        }
      if (k == bytestart[p + 2])
      if (k == bytestart[p + 2])
        if (j > l)
        if (j > l)
          c = 1;
          c = 1;
        else c = 4;
        else c = 4;
      else if (j > l)
      else if (j > l)
        c = 3;
        c = 3;
      else if (modtext[j] < bytemem[w][k])
      else if (modtext[j] < bytemem[w][k])
        c = 0;
        c = 0;
      else c = 2;
      else c = 2;
    }
    }
}
}
 
 

powered by: WebSVN 2.1.0

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