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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20120111-1.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 688 jeremybenn
#include <stdlib.h>
2
#include <stdint.h>
3
 
4
uint32_t f0a (uint64_t arg2) __attribute__((noinline));
5
 
6
uint32_t
7
f0a (uint64_t arg)
8
{
9
  return ~((unsigned) (arg > -3));
10
}
11
 
12
int main() {
13
  uint32_t r1;
14
  r1 = f0a (12094370573988097329ULL);
15
  if (r1 != ~0U)
16
    abort ();
17
  return 0;
18
}

powered by: WebSVN 2.1.0

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