OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr19952.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* PR 19952 */
2
/* { dg-do compile } */
3
/* { dg-options "-ftree-vectorize -O2" } */
4
 
5
int i;
6
 
7
struct A
8
{
9
    ~A() { ++i; }
10
};
11
 
12
struct B
13
{
14
    A a;
15
};
16
 
17
void foo()
18
{
19
    for (int i=0; i<2; ++i)
20
    {
21
        B *p;
22
        if (p) p->~B();
23
    }
24
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.