OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [990617-1.c] - Blame information for rev 868

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 0x70000000 is too large a constant to become a pointer on
2
   xstormy16. */
3
/* { dg-do assemble { xfail xstormy16-*-* } } */
4
 
5
int main()
6
{
7
    do {
8
        long l;
9
        long *p = &l;
10
 
11
        *p = 0x0000000070000000L;
12
        p += 2;
13
        {
14
            unsigned int *addr = (unsigned int *)0x70000000;
15
            printf("%d, %d\n", addr[1], addr[0]);
16
        }
17
 
18
    } while (1);
19
}
20
 

powered by: WebSVN 2.1.0

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