From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 79A0D38708A8; Tue, 9 Jun 2020 09:14:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79A0D38708A8 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/26095] New: gdb bug worked around in gcc/bb-reorder.c:pass_partition_blocks::gate Date: Tue, 09 Jun 2020 09:14:44 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.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 target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2020 09:14:44 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26095 Bug ID: 26095 Summary: gdb bug worked around in gcc/bb-reorder.c:pass_partition_blocks::gate Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Current GCC contains this workaround in bb-reorder.c: ... /* Workaround a bug in GDB where read_partial_die doesn't cope=20= =20=20=20=20=20=20=20 with DIEs with DW_AT_ranges, see PR81115. */ && !(in_lto_p && MAIN_NAME_P (DECL_NAME (fun->decl)))); ... The PR81115 is a typo, it actually refers to gcc PR 81155, as we can see fr= om the log message: ... commit 8f72ce2cec8b8961f381995eb6e2c5de1cd0f3d3 Author: Jakub Jelinek Date: Fri Jan 12 19:20:49 2018 +0100 re PR debug/81155 (Debug make check regressions in GCC 8.0) PR debug/81155 * bb-reorder.c (pass_partition_blocks::gate): In lto don't partition main to workaround a bug in GDB. From-SVN: r256592 ... The gcc PR (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81155 ) discusse= s a GDB bug, but unfortunately it seems no GDB counterpart was filed to track i= t to completion.=20 So, I'm filing this PR for the specific purpose of acting as GDB counterpart for the GCC PR. --=20 You are receiving this mail because: You are on the CC list for the bug.=