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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Gaius Mulley
<ga...@gcc.gnu.org>:

https://gcc.gnu.org/g:461359a8f8361d00f926985050e06bd13445ea69

commit r13-7637-g461359a8f8361d00f926985050e06bd13445ea69
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Sat Jul 29 00:27:22 2023 +0100

    PR modula2/109879 WholeIO.ReadCard and ReadInt should consume leading space

    The Read{TYPE} procedures in LongIO, LongWholeIO, RealIO, ShortWholeIO and
    WholeIO all require skip space functionality.  A new module TextUtil
    is supplied with this functionality and the previous modules have been
    changed to call SkipSpaces.

    gcc/m2/ChangeLog:

            PR modula2/109879
            * gm2-libs-iso/LongIO.mod (ReadReal): Call SkipSpaces.
            * gm2-libs-iso/LongWholeIO.mod (ReadInt): Call SkipSpaces.
            (ReadCard): Call SkipSpaces.
            * gm2-libs-iso/RealIO.mod (ReadReal): Call SkipSpaces.
            * gm2-libs-iso/ShortWholeIO.mod: (ReadInt): Call SkipSpaces.
            (ReadCard): Call SkipSpaces.
            * gm2-libs-iso/TextIO.mod: Import SkipSpaces.
            * gm2-libs-iso/WholeIO.mod (ReadInt): Call SkipSpaces.
            (ReadCard): Call SkipSpaces.
            * gm2-libs-iso/TextUtil.def: New file.
            * gm2-libs-iso/TextUtil.mod: New file.

    libgm2/ChangeLog:

            PR modula2/109879
            * Makefile.in: Regenerate.
            * aclocal.m4: Regenerate.
            * libm2cor/Makefile.in: Regenerate.
            * libm2iso/Makefile.am (M2DEFS): Add TextUtil.def.
            (M2MODS): Add TextUtil.mod.
            * libm2iso/Makefile.in: Regenerate.
            * libm2log/Makefile.in: Regenerate.
            * libm2min/Makefile.in: Regenerate.
            * libm2pim/Makefile.in: Regenerate.

    gcc/testsuite/ChangeLog:

            PR modula2/109879
            * gm2/isolib/run/pass/testreadint.mod: New test.

    (cherry picked from commit 509eef9314b24eff20a5dbdd92f6ab52e2c0c786)

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

Reply via email to