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++/16261] [3.4 regression] ICE: output_die, at dwarf2out.c:6628


------- 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


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