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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20020225-1.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
/* This testcase failed at -O2 on powerpc64 due to andsi3 writing
2
   nonzero bits to the high 32 bits of a 64 bit register.  */
3
 
4
extern void abort (void);
5
extern void exit (int);
6
 
7
unsigned long foo (unsigned long base, unsigned int val)
8
{
9
  return base + (val & 0x80000001);
10
}
11
 
12
int main (void)
13
{
14
  if (foo (0L, 0x0ffffff0) != 0L)
15
    abort ();
16
  exit (0);
17
}

powered by: WebSVN 2.1.0

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