public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/18392] New: ../../gdb/dwarf2loc.c:834: internal-error: chain_candidate: Assertion `result->callers + result->callees < result->length' failed
@ 2015-05-09 16:29 schwab@linux-m68k.org
  2015-06-01 12:05 ` [Bug symtab/18392] " cvs-commit at gcc dot gnu.org
  2015-06-01 12:08 ` jan.kratochvil at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: schwab@linux-m68k.org @ 2015-05-09 16:29 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-01 12:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-09 16:29 [Bug symtab/18392] New: ../../gdb/dwarf2loc.c:834: internal-error: chain_candidate: Assertion `result->callers + result->callees < result->length' failed schwab@linux-m68k.org
2015-06-01 12:05 ` [Bug symtab/18392] " cvs-commit at gcc dot gnu.org
2015-06-01 12:08 ` jan.kratochvil at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).