This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39862] [4.5 Regression] verify_eh_tree failed with -O2
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Apr 2009 12:33:01 -0000
- Subject: [Bug c++/39862] [4.5 Regression] verify_eh_tree failed with -O2
- References: <bug-39862-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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