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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [960116-1.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
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.