[Bug middle-end/17818] [3.3 Regression] Segfault in can_throw_internal

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Oct 3 23:14:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-10-03 23:14 -------
Confirmed. Here's a redux (compile with "g++ -O"):

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

struct B : A
{
  ~B() { return; }
};

struct C : B
{
  ~C() { return; }
};

struct D : C
{
  ~D() { return; }
};

D d;
==========================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |monitored
      Known to fail|3.3.5                       |3.3 3.3.5
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-03 23:14:12
               date|                            |


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



More information about the Gcc-bugs mailing list