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/] [pr36666.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct Foo {
2
    int *p;
3
    struct X {
4
        int a,b,c,d,e,*f;
5
    } x;
6
} *init, *init2;
7
 
8
struct X __attribute__((const)) foo(struct X);
9
struct Foo __attribute__((const)) foo2(struct Foo);
10
 
11
void bar1 (void)
12
{
13
  init->x = foo (init2->x);
14
}
15
void bar2 (void)
16
{
17
  init->x = foo (init->x);
18
}
19
void bar3 (void)
20
{
21
  *init = foo2 (*init2);
22
}

powered by: WebSVN 2.1.0

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