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/86585] New: [9 Regression] ICE in gen_member_die, at dwarf2out.c:24935


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86585

            Bug ID: 86585
           Summary: [9 Regression] ICE in gen_member_die, at
                    dwarf2out.c:24935
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

This is a follow-up from PR86523:

$ cat 1.ii
namespace Inkscape {
class a;
}
class b {
  Inkscape::a *c;
  virtual void d();
};
class e {
  b f;
};
class g : e {
  void h();
};
void g::h() {}

$ cat 2.ii
struct a {
  struct b {
    b();
  } c;
};
class d {
  a e;
};
namespace aa {
class h {};
} // namespace aa
class k {
  typedef aa::h f;
  f g;
};
namespace Inkscape {
class l {
  k i;
  class : d {
  } j;
  l();
};
l::l() {}
} // namespace Inkscape

$ g++ 1.ii 2.ii -flto  -g 
lto1: internal compiler error: in gen_member_die, at dwarf2out.c:24935
0x5c6027 gen_member_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:24935
0x5c6027 gen_struct_or_union_type_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25130
0x85c38f gen_tagged_type_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25331
0x87610f gen_typedef_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25245
0x85a0da gen_decl_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:26231
0x85cc8c gen_type_die_with_usage
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25396
0x85d8e6 gen_type_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25580
0x85a3c2 gen_decl_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:26299
0x85beb2 gen_member_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25034
0x85beb2 gen_struct_or_union_type_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25130
0x85c38f gen_tagged_type_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25331
0x85d207 gen_type_die_with_usage
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25526
0x85d8e6 gen_type_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25580
0x85a3c2 gen_decl_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:26299
0x85beb2 gen_member_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25034
0x85beb2 gen_struct_or_union_type_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25130
0x85c38f gen_tagged_type_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25331
0x85d207 gen_type_die_with_usage
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25526
0x85c419 gen_tagged_type_die
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25300
0x85d207 gen_type_die_with_usage
        /home/marxin/Programming/gcc/gcc/dwarf2out.c:25526

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