From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C2BF385840E; Sun, 20 Aug 2023 22:28:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C2BF385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692570535; bh=mBtUWIX7SnKGapqR2OE/J3p4pWJRyJ8ibp1z+5NgzZU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PIwgXmo8DiWtaLhOio4d8aSzJ+8xGBWDhn5dGZ2hPYNv+zSZaIjQ9H7k+cBWDS/eM ovErL6y/HQZPmHRSSm4b9pC1e5Sc8PUPaY2qaMlG8i70PUH/eZhK/zsUdTE/S+Noa8 y0ZZPxn9U8WvccP0Mz6QRu9F24B1l1LsxCCrKVo8= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/111085] nexttoward and nexttowardf have incorrect definitions Date: Sun, 20 Aug 2023 22:28:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius 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=3D111085 --- Comment #2 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:a724c6e93dfce3a86f9c0fbf8be4316c37dd5a40 commit r14-3346-ga724c6e93dfce3a86f9c0fbf8be4316c37dd5a40 Author: Gaius Mulley Date: Sun Aug 20 23:27:34 2023 +0100 PR modula2/111085 nexttoward and nexttowardf contain incorrect definiti= ons The definition for procedures nexttoward and nexttowardf contain second incorrect parameter and return types. This bug was discovered when attempting to resolve PR 108143 and is applied separately and prior to PR 108143. gcc/m2/ChangeLog: PR modula2/111085 * gm2-libs/Builtins.def (nexttoward): Alter the second parameter to LONGREAL. (nexttowardf): Alter the second parameter to LONGREAL. * gm2-libs/Builtins.mod (nexttoward): Alter the second parameter to LONGREAL. (nexttowardf): Alter the second parameter to LONGREAL. * gm2-libs/cbuiltin.def (nexttoward): Alter the second parameter to LONGREAL. (nexttowardf): Alter the second parameter to LONGREAL. Signed-off-by: Gaius Mulley =