OpenCores
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/] [pr36766.C] - Blame information for rev 478

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR tree-optimization/36766
2
// { dg-do compile }
3
// { dg-options "-O -fnon-call-exceptions" }
4
 
5
struct A
6
{
7
  ~A ()
8
  {
9
    int *a = this->b;
10
  }
11
  int *b;
12
};
13
 
14
struct B : A
15
{
16
  B ()
17
  {
18
    int *a = this->b;
19
  }
20
   ~B ()
21
  {
22
    int *a = this->b;
23
  }
24
};
25
 
26
void
27
foo ()
28
{
29
  B *c = new B;
30
  delete c;
31
}

powered by: WebSVN 2.1.0

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