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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [960116-1.c] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
static inline
2
p (int *p)
3
{
4
  return !((long) p & 1);
5
}
6
 
7
int
8
f (int *q)
9
{
10
  if (p (q) && *q)
11
    return 1;
12
  return 0;
13
}
14
 
15
main ()
16
{
17
  if (f ((int*) 0xffffffff) != 0)
18
    abort ();
19
  exit (0);
20
}

powered by: WebSVN 2.1.0

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