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 |
/* The alias analyzer was marking RETVAL non-addressable, but RETVAL
|
/* The alias analyzer was marking RETVAL non-addressable, but RETVAL
|
is a special variable that's available across different functions. */
|
is a special variable that's available across different functions. */
|
void foo(const char*);
|
void foo(const char*);
|
|
|
struct A {};
|
struct A {};
|
|
|
struct B : A
|
struct B : A
|
{
|
{
|
B(){}
|
B(){}
|
B bar()
|
B bar()
|
{
|
{
|
foo(__PRETTY_FUNCTION__);
|
foo(__PRETTY_FUNCTION__);
|
return B();
|
return B();
|
};
|
};
|
};
|
};
|
|
|
B b=B().bar();
|
B b=B().bar();
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.