URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// PR c++/8748
|
// PR c++/8748
|
// We were wrapping the ARRAY_REF in a SAVE_EXPR, causing us to try to make a bitwise
|
// We were wrapping the ARRAY_REF in a SAVE_EXPR, causing us to try to make a bitwise
|
// copy of b[0].
|
// copy of b[0].
|
|
|
struct A
|
struct A
|
{
|
{
|
int i;
|
int i;
|
};
|
};
|
|
|
struct B : A
|
struct B : A
|
{
|
{
|
virtual ~B();
|
virtual ~B();
|
};
|
};
|
|
|
struct C
|
struct C
|
{
|
{
|
B b[1];
|
B b[1];
|
};
|
};
|
|
|
void foo() { C().b[0].i; }
|
void foo() { C().b[0].i; }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.