OpenCores
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] - Blame information for rev 298

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

Line No. Rev Author Line
1 297 jeremybenn
/* 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
 

powered by: WebSVN 2.1.0

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