From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D6B6A3850419; Mon, 8 Mar 2021 21:53:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6B6A3850419 From: "aatsnps at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/99334] Generated DWARF unwind table issue while on instructions where rbp is pointing to callers stack frame Date: Mon, 08 Mar 2021 21:53:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 6.2.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: aatsnps at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2021 21:53:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99334 --- Comment #2 from AJ D --- The problem seems to have been addressed in gcc-8.x, at least in this particular function. I could reproduce this issue in gcc-7.4, but not with gcc-8.2, as can be se= en below. Will have to check if this issue is showing up in any other functions. odcphy-vg-1294> module load gcc/7.4.0 odcphy-vg-1294> ./reproduce.csh 000002f0 0000000000000044 000002f4 FDE cie=3D00000000 pc=3D0000000000006570..000000000000680a LOC CFA rbx rbp r12 r13 r14 r15 ra=20=20=20= =20=20=20 0000000000006570 rsp+8 u u u u u u c-8=20=20=20 0000000000006575 r10+0 u u u u u u c-8=20=20=20 000000000000657e r10+0 u exp u u u u c-8=20=20=20 0000000000006589 r10+0 u exp exp exp exp exp c-8=20=20=20 000000000000658e exp u exp exp exp exp exp c-8=20=20=20 0000000000006592 exp exp exp exp exp exp exp c-8=20=20=20 00000000000065f5 r10+0 exp exp exp exp exp exp c-8=20=20=20 0000000000006602 rsp+8 exp exp exp exp exp exp c-8=20=20=20 0000000000006608 exp exp exp exp exp exp exp c-8=20=20=20 odcphy-vg-1294> odcphy-vg-1294> module load gcc/8.2.0 odcphy-vg-1294> ./reproduce.csh 000002c8 0000000000000034 000002cc FDE cie=3D00000000 pc=3D0000000000006450..000000000000676f LOC CFA rbx rbp r12 r13 r14 r15 ra=20=20=20= =20=20=20 0000000000006450 rsp+8 u u u u u u c-8=20=20=20 0000000000006451 rsp+16 u c-16 u u u u c-8=20=20=20 0000000000006454 rbp+16 u c-16 u u u u c-8=20=20=20 000000000000645a rbp+16 u c-16 u c-40 c-32 c-24 c-8=20=20=20 000000000000645f rbp+16 u c-16 c-48 c-40 c-32 c-24 c-8=20=20=20 0000000000006463 rbp+16 c-56 c-16 c-48 c-40 c-32 c-24 c-8=20=20=20 0000000000006518 rsp+8 c-56 c-16 c-48 c-40 c-32 c-24 c-8=20=20=20 0000000000006520 rbp+16 c-56 c-16 c-48 c-40 c-32 c-24 c-8=20=20=20 0000000000006550 rsp+8 c-56 c-16 c-48 c-40 c-32 c-24 c-8=20=20=20 odcphy-vg-1294>=