[Bug c++/16261] [3.4 regression] ICE: output_die, at dwarf2out.c:6628

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jun 29 11:17:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-06-29 11:11 -------
Confirmed.

You don't even need inheritance to crash the compiler:

===========================================
namespace N
{
    template<int> struct A {};
    typedef A<0> B;
}

void foo()
{
    struct C
    {
        C(const N::B&) {}
    };

    N::B b;
    C c(b);
}
===========================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code, monitored
      Known to fail|                            |3.4.0 3.4.1
      Known to work|                            |3.3.4 3.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-29 11:11:02
               date|                            |
            Summary|ICE: output_die, at         |[3.4 regression] ICE:
                   |dwarf2out.c:6628            |output_die, at
                   |                            |dwarf2out.c:6628
   Target Milestone|---                         |3.4.2
            Version|3.4                         |3.4.0


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



More information about the Gcc-bugs mailing list