[gcc(refs/users/ibuclaw/heads/darwin)] libphobos: Fix broken ucontext implementation, and other small test fixes
Iain Buclaw
ibuclaw@gcc.gnu.org
Fri Sep 17 14:34:26 GMT 2021
https://gcc.gnu.org/g:f9a24cd33f7930180de363dddfdced0cecd95eb9
commit f9a24cd33f7930180de363dddfdced0cecd95eb9
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Wed Dec 9 10:49:34 2020 +0100
libphobos: Fix broken ucontext implementation, and other small test fixes
Diff:
---
libphobos/src/std/experimental/allocator/package.d | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libphobos/src/std/experimental/allocator/package.d b/libphobos/src/std/experimental/allocator/package.d
index 11c85474365..7c404070ffa 100644
--- a/libphobos/src/std/experimental/allocator/package.d
+++ b/libphobos/src/std/experimental/allocator/package.d
@@ -622,7 +622,8 @@ allocator can be cast to $(D shared).
testAllocatorObject(processAllocator);
testAllocatorObject(theAllocator);
- assertThrown!AssertError(processAllocator = null);
+ // XBUG: Asserts are not thrown in release code, so is a pointless check.
+ //assertThrown!AssertError(processAllocator = null);
// Restore initial processAllocator state
processAllocator = oldProcessAllocator;
More information about the Gcc-cvs
mailing list