------- Comment #1 from Ralf dot Wildenhues at gmx dot de  2007-05-16 13:35 
-------
Reduced test case.  Both tests also fail with current mainline (revision
124767M).

struct B {
  ~B();
};

struct A {
  B* b;
  virtual ~A() { delete[] b; }
};

A Op(void);

int main()
{
  A a(Op());
  return 0;
}


-- 

Ralf dot Wildenhues at gmx dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ralf dot Wildenhues at gmx
                   |                            |dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31950

Reply via email to