URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [990617-1.c] - Rev 826
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); }