From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4FC7F385842A; Fri, 27 Jan 2023 18:39:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FC7F385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674844748; bh=PGkI6IggJ/7+Vmg7/rcLxeKWQeccXQ4vYwfhQ7rx8No=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OKOgrTemUjboA+JTeDyQaBRb9z5AHoy55eJ0Q1LUxDvKmKGhnF3JJMhNcMTZ5bvNW 8WWx6gNsqtRlJfUOtQ6ztSDBfvpMIchIe7Q6mhBGL1VdJ6v53PELmEfE7DhluEHwsQ 3MHPPzAccXI0wYC65gniNdFhzg84CBfOFEReuZpU= From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108575] Bug in gcc arm non eabi Date: Fri, 27 Jan 2023 18:39:08 +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: 10.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org 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: cc 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=3D108575 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #2 from Christophe Lyon --- I may be reading the code incorrectly, but ISTM that rtu_AngleMecIn is the = 3rd parameter of the function, so you pass &UnitDelay_DSTATE, while you pass &Sig_MechanicalAngle as 5th parameter. So it's normal that (*rtu_AngleMecIn) and (Sig_MechanicalAngle) have differ= ent values.=