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.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr30338.c] - Blame information for rev 437

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

Line No. Rev Author Line
1 297 jeremybenn
/* We used to do folding with mismatched types which caused us to
2
   infinitely loop in comparison foldings.  */
3
 
4
extern char *grub_scratch_mem;
5
int testload_func (char *arg, int flags)
6
{
7
  int i;
8
  for (i = 0; i < 0x10ac0; i++)
9
    if (*((unsigned char *) ((0x200000 + i + (int) grub_scratch_mem)))
10
        != *((unsigned char *) ((0x300000 + i + (int) grub_scratch_mem))))
11
      return 0;
12
  return 1;
13
}
14
 

powered by: WebSVN 2.1.0

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