PR 109125 13 regression SIGBUS in m2pim_ldtoa_ldtoa
authorGaius Mulley <gaiusmod2@gmail.com>
Wed, 15 Mar 2023 21:30:33 +0000 (21:30 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Wed, 15 Mar 2023 21:30:33 +0000 (21:30 +0000)
commit8f1711ef3486b0727ccf6b5aabddda5c7d986457
treed7b8a96fc8e4388526d6b305c82dcf3088e1da50
parent57052c6ed59c1a2ee4a67982f960e08593956955
PR 109125 13 regression SIGBUS in m2pim_ldtoa_ldtoa

This patch fixes more bool int parameter mismatches
found in dtoa and ldtoa.

gcc/m2/ChangeLog:

PR modula2/109125
* gm2-libs-ch/dtoa.cc (dtoa_strtod): Replace int with bool.
* gm2-libs-ch/ldtoa.cc (ldtoa_strtold): Replace int with bool.

libgm2/ChangeLog:

PR modula2/109125
* libm2pim/dtoa.cc (TRUE): Remove.
(FALSE): Remove.  Replace int with bool.
* libm2pim/ldtoa.cc (TRUE): Remove.
(FALSE): Remove.  Replace int with bool.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/gm2-libs-ch/dtoa.cc
gcc/m2/gm2-libs-ch/ldtoa.cc
libgm2/libm2pim/dtoa.cc
libgm2/libm2pim/ldtoa.cc