https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125

--- Comment #3 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:19c5dfc29d83101e415590e778b99e7c37d9b730

commit r13-6671-g19c5dfc29d83101e415590e778b99e7c37d9b730
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Tue Mar 14 19:52:11 2023 +0000

    PR 109125 Modula2 SIGBUS in m2pim_ldtoa_ldtoa

    13 regression failures seen on sparc SIGBUS in m2pim_ldtoa_ldtoa.
    This patch fixes int bool parameter mismatches between the
    definition modules and their C/C++ implementations.

    gcc/m2/ChangeLog:

            PR modula2/109125
            * gm2-libs-ch/cgetopt.c (cgetopt_SetOption): Replace int
            for bool.
            * gm2-libs-ch/termios.c (doSetUnset): Replace int for bool.
            * gm2-libs/Builtins.mod (isfinitef): Correct typo in return
            statement.

    libgm2/ChangeLog:

            PR modula2/109125
            * libm2iso/ErrnoCategory.cc (FALSE): Remove.
            (TRUE): Remove.
            * libm2iso/wrapsock.c (TRUE): Remove.
            (FALSE): Remove.
            * libm2iso/wraptime.cc (TRUE): Remove.
            (FALSE): Remove.
            * libm2pim/cgetopt.cc: Replace int for bool for every BOOLEAN
            parameter in the definition module.
            * libm2pim/dtoa.cc: Ditto.
            * libm2pim/ldtoa.cc: Ditto.
            * libm2pim/termios.cc: Ditto.
            (doSetUnset): Replace int for bool.

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to