URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
struct A { int i; };
|
struct A { int i; };
|
struct B { struct A a; };
|
struct B { struct A a; };
|
|
|
void f(struct A*, struct A*);
|
void f(struct A*, struct A*);
|
#define bool _Bool
|
#define bool _Bool
|
|
|
void bar(bool b)
|
void bar(bool b)
|
{
|
{
|
struct B * D1601;
|
struct B * D1601;
|
struct A D1576;
|
struct A D1576;
|
struct A * D1593;
|
struct A * D1593;
|
struct B * D1592;
|
struct B * D1592;
|
struct B D1575;
|
struct B D1575;
|
|
|
D1575 = (struct B){};
|
D1575 = (struct B){};
|
|
|
if (b) D1592 = &D1575; else D1592 = &D1575;
|
if (b) D1592 = &D1575; else D1592 = &D1575;
|
|
|
D1593 = &D1592->a; // <-- we are prograting &D1575 into here.
|
D1593 = &D1592->a; // <-- we are prograting &D1575 into here.
|
D1576 = (struct A){};
|
D1576 = (struct A){};
|
f (D1593, &D1576);
|
f (D1593, &D1576);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.