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

--- 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:77924dff144cf934e7a73417d237a99f0d9d66ed

commit r13-6718-g77924dff144cf934e7a73417d237a99f0d9d66ed
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Thu Mar 16 20:34:32 2023 +0000

    PR 107630 runtime libs should be self-contained

    This is a patch to improve the layering of libgm2.
    It removes the m2cor Debug.{def,mod} (the codebase will use
    m2pim Debug instead).  It also layers SysStorage under
    both m2pim Storage and m2iso Storage.  SysStorage is now
    a dependant of m2pim Storage.mod.  Halt parameters for
    Debug.mod and M2RTS.mod now have the same order.

    gcc/m2/ChangeLog:

            * gm2-compiler/SymbolKey.mod (PutSymKey): Halt parameters
            reordered.
            (DelSymKey): Ditto.
            * gm2-compiler/ppg.mod (GetEpsilon): Ditto.
            (GetReachEnd): Ditto.
            (GetFollow): Ditto.
            (CodeCondition): Ditto.
            (CodeThenDo): Ditto.
            (CodeEnd): Ditto.
            (RecoverCondition): Ditto.
            (ConditionIndent): Ditto.
            * gm2-libs-ch/m2rts.h (M2RTS_Halt): Ditto.
            * gm2-libs-coroutines/Executive.mod (Assert): Ditto.
            (Resume): Remove redundant comments.
            (Wait): Remove redundant comments.
            * gm2-libs-coroutines/SYSTEM.mod (TRANSFER): Halt parameters
            reordered.
            (IOTransferHandler): Ditto.
            (Finished): Ditto.
            (localInit): Ditto.
            * gm2-libs-coroutines/TimerHandler.mod (WaitOn): Halt parameters
            reordered.
            (Cancel): Ditto.
            (ReArmEvent): Ditto.
            (OnActiveQueue): Ditto.
            * gm2-libs-iso/COROUTINES.mod (NEWCOROUTINE): Ditto.
            (Transfer): Ditto.
            (IOTRANSFER): Ditto.
            * gm2-libs-iso/EXCEPTIONS.mod (RAISE): Correct Halt parameters.
            * gm2-libs-iso/M2RTS.def (Halt): Halt parameters reordered.
            (HaltC): Ditto.
            * gm2-libs-iso/M2RTS.mod: Ditto.
            * gm2-libs-iso/RTentity.mod (PutKey): Ditto.
            (DelKey): Ditto.
            (findChildAndParent): Ditto.
            (assert): Ditto.
            * gm2-libs-iso/Storage.mod (ALLOCATE): Add DebugTrace.
            Add UseMallocFree test.
            (DEALLOCATE): Add DebugTrace.  Add UseMallocFree test.
            (assert): Halt parameters reordered.
            * gm2-libs-log/Termbase.mod (Read): Ditto.
            (KeyPressed): Ditto.
            (Write): Ditto.
            (Init): Ditto.
            * gm2-libs/Debug.def (Halt): Halt parameters reordered.
            * gm2-libs/Debug.mod (Halt): Ditto.
            * gm2-libs/DynamicStrings.def (PopAllocation): Improve comment.
            * gm2-libs/DynamicStrings.mod (PopAllocation): Improve comment.
            Halt parameters reordered.
            * gm2-libs/M2RTS.def (Halt): Ditto.
            (HaltC): Ditto.
            * gm2-libs/M2RTS.mod (Halt): Ditto.
            (HaltC): Ditto.
            * gm2-libs/PushBackInput.mod (PutStr): Ditto.
            (PutString): Ditto.
            (PutCh): Ditto.
            * gm2-libs/RTExceptions.mod (GetBaseExceptionBlock): Ditto.
            * gm2-libs/RTint.mod (ReArmTimeVector): Ditto.
            (GetTimeVector): Ditto.
            (AttachVector): Ditto.
            (IncludeVector): Ditto.
            (Listen): Ditto.
            * gm2-libs/SysStorage.mod (ALLOCATE): Ditto.
            (DEALLOCATE): Ditto.
            (REALLOCATE): Ditto.
            * gm2-libs-coroutines/Debug.def: Removed.
            * gm2-libs-coroutines/Debug.mod: Removed.

    libgm2/ChangeLog:

            * libm2cor/Makefile.am: Remove
            * libm2cor/Makefile.in: Rebuild.
            * libm2iso/RTco.cc (newSem): Halt parameters reordered.
            (currentThread): Ditto.
            (never): Ditto.
            (defined): Ditto.
            (initThread): Ditto.
            * libm2iso/m2rts.h (m2iso_M2RTS_HaltC): Ditto.

    gcc/testsuite/ChangeLog:

            * gm2/complex/pass/arith3.mod: Halt parameters reordered.
            * gm2/complex/run/pass/arith3.mod: Ditto.
            * gm2/complex/run/pass/arith4.mod: Ditto.
            * gm2/complex/run/pass/arith5.mod: Ditto.
            * gm2/isolib/run/pass/real2.mod: Ditto.
            * gm2/isolib/run/pass/real3.mod: Ditto.
            * gm2/isolib/run/pass/realconv.mod: Ditto.
            * gm2/isolib/run/pass/realconv2.mod: Ditto.
            * gm2/pim/pass/testshort.mod: Ditto.
            * gm2/projects/pim/run/pass/tower/AdvSystem.mod: Ditto.
            * gm2/projects/pim/run/pass/tower/DrawL.mod: Ditto.
            * gm2/warnings/returntype/pass/Termbase.mod: Ditto.
            * gm2/warnings/returntype/pass/keypressedsimple.mod: Ditto.

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

Reply via email to