https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111085
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>: https://gcc.gnu.org/g:a724c6e93dfce3a86f9c0fbf8be4316c37dd5a40 commit r14-3346-ga724c6e93dfce3a86f9c0fbf8be4316c37dd5a40 Author: Gaius Mulley <gaiusm...@gmail.com> Date: Sun Aug 20 23:27:34 2023 +0100 PR modula2/111085 nexttoward and nexttowardf contain incorrect definitions 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 <gaiusm...@gmail.com>