[Bug debug/16035] [3.4/3.5 Regression] [non-unit-at-a-time] internal compiler error: in gen_subprogram_die, at dwarf2out.c:10798

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 18 23:39:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-06-18 23:39 -------
Here's an evemn shorter version that crashes 3.4.0 *and* mainline:

==========================================
namespace N
{
    int foo();

    struct A
    {
        A();
        ~A() { if (foo()) foo(); }
    };

    struct B : A {};
    struct C : B {};
    struct D : C {};

    struct E
    {
        D d1, d2;
    };

    inline E bar1()
    {
        E bar2 (const E&);
        E e;
        return bar2(E());
    }

    E e=bar1();
}
==========================================


-- 


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



More information about the Gcc-bugs mailing list