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++/24996] [4.0/4.1/4.2 Regression] ICE on throw code



------- Comment #3 from reichelt at gcc dot gnu dot org  2005-11-23 17:37 -------
Testcase with simpler class hierarchy:

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

struct B
{
    B(A);
};

void foo(bool b)
{
    throw b ? B(A()) : B(A());
}
======================================

This testaces also crashes GCC 3.4.0, but not 3.4.1 - 3.4.4.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored
      Known to fail|4.0.0 4.1.0 4.2.0           |4.0.0 4.1.0 4.2.0 3.4.0
      Known to work|3.4.0                       |3.4.1


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


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