--- ./libcxxabi/src/cxa_personality.cpp.orig	2019-08-03 09:59:26.348115358 +0200
+++ ./libcxxabi/src/cxa_personality.cpp	2019-08-03 09:17:07.833550401 +0200
@@ -1109,7 +1109,7 @@
 
     // Check the undocumented force unwinding behavior
     bool is_force_unwinding = state & _US_FORCE_UNWIND;
-    state &= ~_US_FORCE_UNWIND;
+    state = (_Unwind_State)(state & ~_US_FORCE_UNWIND);
 
     scan_results results;
     switch (state) {
