OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 990617-1.c
1 /* 0x70000000 is too large a constant to become a pointer on
2    xstormy16. */
3 /* { dg-do assemble } */
4 /* { dg-xfail-if "" { xstormy16-*-* } { "*" } { "" } } */
5
6 int main()
7 {
8     do {
9         long l;
10         long *p = &l;
11         
12         *p = 0x0000000070000000L;
13         p += 2;
14         {
15             unsigned int *addr = (unsigned int *)0x70000000;
16             printf("%d, %d\n", addr[1], addr[0]);
17         }
18         
19     } while (1);
20 }
21