This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/39862] [4.5 Regression] verify_eh_tree failed with -O2



------- Comment #4 from reichelt at gcc dot gnu dot org  2009-04-29 12:33 -------
Confirmed. Reduced testcase (crashes with "-O"):

======================================
struct A
{
  virtual ~A() {}
};

struct B : A
{
  virtual ~B() { foo(); }
  void foo();
};

struct C : B
{
  C(const C& c) : B(c) { foo(); }
};

void bar(const C& c)
{
  try
    { new C(c); }
  catch(...)
    {}
}
======================================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-29 12:33:01
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]