URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [init/] [save1.C] - Rev 316
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/8748
// We were wrapping the ARRAY_REF in a SAVE_EXPR, causing us to try to make a bitwise
// copy of b[0].
struct A
{
int i;
};
struct B : A
{
virtual ~B();
};
struct C
{
B b[1];
};
void foo() { C().b[0].i; }
Go to most recent revision | Compare with Previous | Blame | View Log