This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24824] New: ICE: in build_abbrev_table, at dwarf2out.c:6427 with -feliminate-dwarf2-dups
- From: "wanderer at rsu dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2005 19:03:46 -0000
- Subject: [Bug c++/24824] New: ICE: in build_abbrev_table, at dwarf2out.c:6427 with -feliminate-dwarf2-dups
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
g++ ICE with error message:
test.cc:24: 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 test.cc -o test.o
testcase:
---8X----------------------------------
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 {
T();
N::V<S*> _l;
};
T::T() {}
---X8----------------------------------
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 -
feliminate-dwarf2-dups
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24824