From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56408 invoked by alias); 9 May 2015 16:29:07 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 56382 invoked by uid 48); 9 May 2015 16:29:06 -0000 From: "schwab@linux-m68k.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/18392] New: ../../gdb/dwarf2loc.c:834: internal-error: chain_candidate: Assertion `result->callers + result->callees < result->length' failed Date: Sat, 09 May 2015 16:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: 7.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00250.txt.bz2 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=, 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.