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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <[email protected]>:

https://gcc.gnu.org/g:dde7adea08d7738ca822e2badb683354bf95815b

commit r17-5033-gdde7adea08d7738ca822e2badb683354bf95815b
Author: Gaius Mulley <[email protected]>
Date:   Fri Oct 9 18:18:37 2026 +0100

    PR modula2/127794: New LongStorage module to allow large dynamic memory
alloc

    This patch provides two new PIM style modules LongStorage and
    LongSysStorage.  These allow the programmer to allocate/deallocate
    more than 4GB memory (MAX(CARDINAL) in one library call.
    M2Diagnostic has additional long cardinal procedures which track
    the overall application memory used.

    gcc/m2/ChangeLog:

            PR modula2/127794
            * gm2-libs/M2Diagnostic.def (MemIncrLong): New procedure.
            (MemDecrLong): Ditto.
            (MemSetLong): Ditto.
            (TotalHeapIncrLong): Ditto.
            (TotalHeapDecrLong): Ditto.
            * gm2-libs/M2Diagnostic.mod (MemIncrLong): New procedure.
            (MemDecrLong): Ditto.
            (MemSetLong): Ditto.
            (TotalHeapIncrLong): Ditto.
            (TotalHeapDecrLong): Ditto.
            (MemIncr): Reimplement.
            (MemDecr): Ditto.
            (MemSet): Ditto.
            (TotalHeapIncr): Ditto.
            (TotalHeapDecr): Ditto.
            * gm2-libs/LongStorage.def: New file.
            * gm2-libs/LongStorage.mod: New file.
            * gm2-libs/LongSysStorage.def: New file.
            * gm2-libs/LongSysStorage.mod: New file.

    libgm2/ChangeLog:

            PR modula2/127794
            * libm2pim/Makefile.am (M2DEFS): Add LongStorage.def
            and LongSysStorage.def.
            (M2MODS): Add LongStorage.mod and LongSysStorage.mod.
            * libm2pim/Makefile.in: Regenerate.

    gcc/testsuite/ChangeLog:

            PR modula2/127794
            * gm2.dg/pim/pass/largestore.mod: New test.
            * gm2.dg/pim/pass/largestore2.mod: New test.

    Signed-off-by: Gaius Mulley <[email protected]>

Reply via email to