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/] [tree-ssa/] [pr37356.C] - Rev 310
Go to most recent revision | Compare with Previous | Blame | View Log
// PR middle-end/37356 */
// { dg-do compile }
// { dg-options "-O" }
bool foo ();
int bar ();
bool
baz (int v)
{
return v == bar ();
}
struct A
{
A () { baz (1) || foo (); }
};
struct B
{
static A get () { return A (); }
B (const int &x) { }
B () : b (get ()) { }
A b;
};
B c;
void
test ()
{
int d;
c = d;
}
Go to most recent revision | Compare with Previous | Blame | View Log