This is the mail archive of the 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++/24824] New: ICE: in build_abbrev_table, at dwarf2out.c:6427 with -feliminate-dwarf2-dups

g++ ICE with error message: internal compiler error: in build_abbrev_table, at dwarf2out.c:6427
Please submit a full bug report,

g++ call: g++ -c -gdwarf-2 -feliminate-dwarf2-dups -o test.o

namespace N {

  struct I {};

  template<typename _Tp>
  struct _V_base {
    I _impl;

  template<typename _Tp >
  struct V : _V_base<_Tp> {
    using _V_base<_Tp>::_impl;

} // namespace N

struct S {};

struct T {
  N::V<S*> _l;

T::T() {}

ICE with:
gcc version 4.1.0 20051104 (experimental)
gcc version 4.1.0 20051110 (experimental)

OK with:
gcc version 3.4.4 [FreeBSD] 20050518 (system compiler)
gcc version 3.4.4 20050513 (prerelease)
gcc version 3.5.0 20040712 (experimental)
gcc version 4.0.2

           Summary: ICE: in build_abbrev_table, at dwarf2out.c:6427 with -
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wanderer at rsu dot ru
 GCC build triplet: i386-unknown-freebsd6.0
  GCC host triplet: i386-unknown-freebsd6.0
GCC target triplet: i386-unknown-freebsd6.0

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