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 debug/45517] New: ICE in output_die


GCC 4.[1234] ICE in output_die on:
// { dg-do compile }
// { dg-options "-g" }

struct S
{
  virtual ~S () {}
};

void
foo ()
{
  struct T
  {
    T () {}
    void bar ()
    {
      struct U : public S
      {
        T t;
        U () : t () {}
      };
    }
  } t;
}

4.5/trunk works.


-- 
           Summary: ICE in output_die
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


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