summaryrefslogtreecommitdiff
path: root/libphobos/testsuite
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-04-30 11:03:33 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-04-30 12:16:11 +0200
commit05b6520ed29a9e2b5480ecab4e71d999c7d04f29 (patch)
tree95b6e674c59007d725360dedb8d12d3a48e48ae4 /libphobos/testsuite
parente33a1eae25b8a8744db2fea72e739d64799ca61f (diff)
d: Merge upstream dmd 934df6f8c, druntime 7bdd83d7
Corrects a previous change made to the SPARC stdc bindings, and backports PPC-related fixes. The library and language testsuite now passes fully on powerpc64le-linux-gnu. Fixes: PR d/90719 Fixes: PR d/94825 Reviewed-on: https://github.com/dlang/dmd/pull/11079 https://github.com/dlang/druntime/pull/3078 https://github.com/dlang/druntime/pull/3083 libphobos/ChangeLog: PR d/94825 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove config/powerpc/switchcontext.S * libdruntime/Makefile.in: Regenerate. * libdruntime/config/powerpc/callwithstack.S: Remove. * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of fiber_switchContext. * libdruntime/core/thread.d: Disable fiber migration tests on PPC. * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize same as stackSize.
Diffstat (limited to 'libphobos/testsuite')
-rw-r--r--libphobos/testsuite/libphobos.thread/fiber_guard_page.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/libphobos/testsuite/libphobos.thread/fiber_guard_page.d b/libphobos/testsuite/libphobos.thread/fiber_guard_page.d
index 49c22658542..61a616acd8e 100644
--- a/libphobos/testsuite/libphobos.thread/fiber_guard_page.d
+++ b/libphobos/testsuite/libphobos.thread/fiber_guard_page.d
@@ -18,7 +18,7 @@ void stackMethod()
void main()
{
- auto test_fiber = new Fiber(&stackMethod, stackSize);
+ auto test_fiber = new Fiber(&stackMethod, stackSize, stackSize);
// allocate a page below (above) the fiber's stack to make stack overflows possible (w/o segfaulting)
version (StackGrowsDown)