From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 204FD3858C74; Tue, 3 Oct 2023 22:03:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 204FD3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696370594; bh=E9Oql4J1lbl9SEsIH18qV0tOKFXzXT46XjcsOtZ4rC0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=v4m5RtfafOWbQOhaUx+fLSzwHAmTkRXA/XrtPVdCoR4KbYM4qI48i+qg0j4LgoLLL 6bvjDvqmK/gbVOjvxbjXwtBkxzpzfh+kc5KCf/j4cwquhRgb70zh5mHmX+LBxMmQuc ncMW2maRj+EpTU0ca8S9fwhrw061itcLUeQOJehQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111680] DWARF information inconsistent with the generated RISC-V Binary Date: Tue, 03 Oct 2023 22:03:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111680 --- Comment #5 from Andrew Pinski --- https://sourceware.org/binutils/docs/as/CFI-directives.html#g_t_002ecfi_005= fdef_005fcfa_005foffset-offset I think you are reading the dwarf standard incorrectly. It is the second cfi_def_cfa_offset is absolute offset and not an increment= al offset.=