This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/18392] New: ../../gdb/dwarf2loc.c:834: internal-error: chain_candidate: Assertion `result->callers + result->callees < result->length' failed
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 09 May 2015 16:29:05 +0000
- Subject: [Bug symtab/18392] New: ../../gdb/dwarf2loc.c:834: internal-error: chain_candidate: Assertion `result->callers + result->callees < result->length' failed
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18392
Bug ID: 18392
Summary: ../../gdb/dwarf2loc.c:834: internal-error:
chain_candidate: Assertion `result->callers +
result->callees < result->length' failed
Product: gdb
Version: 7.9
Status: NEW
Severity: normal
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: schwab@linux-m68k.org
CC: jan.kratochvil at redhat dot com
Target Milestone: ---
This assertion happend while debugging cc1. The condition doesn't make sense,
since result is initialized with length == callers == callees.
DW_OP_GNU_entry_value resolving has found function "eliminate_regs_1(rtx_def*,
machine_mode, rtx_def*, bool, bool)" at 0x9d0e40 can call itself via tail calls
may_use_invariant=<optimized out>, for_costs=true)
at ../../gcc/gcc/reload1.c:2917
tailcall: initial: 0x9d12de(eliminate_regs_1(rtx_def*, machine_mode, rtx_def*,
bool, bool))
tailcall: compare: 0x9d1108(eliminate_regs_1(rtx_def*, machine_mode, rtx_def*,
bool, bool)) 0x9d12de(eliminate_regs_1(rtx_def*, machine_mode, rtx_def*, bool,
bool))
tailcall: reduced: | 0x9d12de(eliminate_regs_1(rtx_def*, machine_mode,
rtx_def*, bool, bool))
../../gdb/dwarf2loc.c:830: internal-error: chain_candidate: Assertion
`result->callers + result->callees < result->length' failed.
(top-gdb) p *result
$11 = {callers = 0, callees = 1, length = 1, call_site = {0x278c230}}
--
You are receiving this mail because:
You are on the CC list for the bug.