--- /dev/null 2025-03-09 15:18:59.318364000 +0100 +++ lang/gcc13/files/patch-libgcc_unwind.inc 2025-03-09 15:16:27.392644000 +0100 @@ -0,0 +1,13 @@ +--- libgcc/unwind.inc.orig 2024-05-21 09:47:41.000000000 +0200 ++++ libgcc/unwind.inc 2025-03-09 15:14:56.260327000 +0100 +@@ -212,8 +212,8 @@ + uw_init_context (&this_context); + cur_context = this_context; + +- exc->private_1 = (_Unwind_Ptr) stop; +- exc->private_2 = (_Unwind_Ptr) stop_argument; ++ __builtin_memcpy(&exc->private_1, &stop, sizeof(_Unwind_Ptr)); ++ __builtin_memcpy(&exc->private_2, &stop_argument, sizeof(_Unwind_Ptr)); + + code = _Unwind_ForcedUnwind_Phase2 (exc, &cur_context, &frames); + if (code != _URC_INSTALL_CONTEXT)