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/] [pr19952.C] - Rev 310
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR 19952 */
/* { dg-compile } */
/* { dg-options "-ftree-vectorize -O2" } */
int i;
struct A
{
~A() { ++i; }
};
struct B
{
A a;
};
void foo()
{
for (int i=0; i<2; ++i)
{
B *p;
if (p) p->~B();
}
}
Go to most recent revision | Compare with Previous | Blame | View Log