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 |
/* PR c/26004 */
|
/* PR c/26004 */
|
/* Bug: the return slot optimization was taking the address of s_3,
|
/* Bug: the return slot optimization was taking the address of s_3,
|
causing an error. */
|
causing an error. */
|
|
|
struct s_3 { short s[3]; } z_3, s_3;
|
struct s_3 { short s[3]; } z_3, s_3;
|
struct s_3 add_struct_3 (struct s_3 s){}
|
struct s_3 add_struct_3 (struct s_3 s){}
|
wack_struct_3 (void)
|
wack_struct_3 (void)
|
{
|
{
|
int i; register struct s_3 u = z_3;
|
int i; register struct s_3 u = z_3;
|
u = add_struct_3 (u);
|
u = add_struct_3 (u);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.