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/] [990617-1.c] - Rev 399
Go to most recent revision | Compare with Previous | Blame | View Log
/* 0x70000000 is too large a constant to become a pointer on xstormy16. */ /* { dg-do assemble } */ /* { dg-xfail-if "" { xstormy16-*-* } { "*" } { "" } } */ int main() { do { long l; long *p = &l; *p = 0x0000000070000000L; p += 2; { unsigned int *addr = (unsigned int *)0x70000000; printf("%d, %d\n", addr[1], addr[0]); } } while (1); }
Go to most recent revision | Compare with Previous | Blame | View Log