diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2023-01-14 10:20:47 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2023-01-23 17:25:49 +0000 |
commit | bcc023e2b4dd0dc1fd1fca3ea12664d5bdade4dc (patch) | |
tree | 3df4fabb051d4ac0c2cc7d3fb62472f7e8ef1683 /gcc/fortran/interface.cc | |
parent | b457cab64038cd9b7a8481594ff673f1822681f6 (diff) | |
download | gcc-bcc023e2b4dd0dc1fd1fca3ea12664d5bdade4dc.zip gcc-bcc023e2b4dd0dc1fd1fca3ea12664d5bdade4dc.tar.gz gcc-bcc023e2b4dd0dc1fd1fca3ea12664d5bdade4dc.tar.bz2 |
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 <iain@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.
Diffstat (limited to 'gcc/fortran/interface.cc')
0 files changed, 0 insertions, 0 deletions