[Bug c++/19312] [3.4/4.0 Regression] ICE in stabilize_call when throwing a copy

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 18 12:25:00 GMT 2005


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-01-18 12:24 -------
Further reduced testcase.

===================
struct A {};

void foo(A a)
{
    throw (A)a;
}
===================

This is similar to the testcase from PR 16338:

===================
struct A
{
    int i;
};

void foo()
{
    throw (A){0};
}
===================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored
            Summary|[3.4/4.0 Regression] ICE in |[3.4/4.0 Regression] ICE in
                   |stabilize_call              |stabilize_call when throwing
                   |                            |a copy


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



More information about the Gcc-bugs mailing list