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/] [compile/] [pr22398.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
#if ULONG_MAX != 4294967295u && ULONG_MAX != 18446744073709551615ull
2
int main(void) { exit (0); }
3
#else
4
#if ULONG_MAX != 18446744073709551615ull
5
#define NUM 0xf0000000
6
#else
7
#define NUM 0xf000000000000000
8
#endif
9
 
10
 
11
int func1(void *rw)
12
{
13
  return (rw && (((unsigned long) rw) >= NUM) );
14
}
15
 
16
void func2(void *rw)
17
{
18
  while(rw && (((unsigned long) rw) >= NUM) ) {}
19
}
20
 
21
#endif

powered by: WebSVN 2.1.0

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