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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>:

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

commit r13-5307-gbcc023e2b4dd0dc1fd1fca3ea12664d5bdade4dc
Author: Iain Sandoe <i...@sandoe.co.uk>
Date:   Sat Jan 14 10:20:47 2023 +0000

    modula-2: Fix stack size request in initPreemptive [PR108405]

    As noted in the PR, the problem is that we make a request for additional
    stack that violates the constraints on some systems.

    This patch chooses a value that is divisible by common OS page sizes.

    TODO: the user value should be checked and then an exception thrown if it
    is not suitable.

    Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>

            PR modula2/108405

    gcc/m2/ChangeLog:

            * gm2-libs-iso/Preemptive.mod (initPreemptive): Use a value for
            extra space that is divisible by common OS pagesizes.
  • [Bug modula2/108405] modula-2: ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to