URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* PR target/15783 */
|
/* PR target/15783 */
|
/* Origin: Paul Pluzhnikov <ppluzhnikov@charter.net> */
|
/* Origin: Paul Pluzhnikov <ppluzhnikov@charter.net> */
|
|
|
/* This used to ICE on SPARC 64-bit because the back-end was
|
/* This used to ICE on SPARC 64-bit because the back-end was
|
returning an invalid construct for the return value of fu2. */
|
returning an invalid construct for the return value of fu2. */
|
|
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
union u2 {
|
union u2 {
|
struct
|
struct
|
{
|
{
|
int u2s_a, u2s_b, u2s_c, u2s_d, u2s_e;
|
int u2s_a, u2s_b, u2s_c, u2s_d, u2s_e;
|
} u2_s;
|
} u2_s;
|
double u2_d;
|
double u2_d;
|
} u2a;
|
} u2a;
|
|
|
union u2 fu2();
|
union u2 fu2();
|
|
|
void unions()
|
void unions()
|
{
|
{
|
u2a = fu2();
|
u2a = fu2();
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.