aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/990617-1.c
blob: 1404b793505646998c43a07b102b9101c329cabc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

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);
}