about summary refs log tree commit diff
path: root/sysdeps/nptl/unwind-forcedunwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nptl/unwind-forcedunwind.c')
-rw-r--r--sysdeps/nptl/unwind-forcedunwind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/nptl/unwind-forcedunwind.c b/sysdeps/nptl/unwind-forcedunwind.c
index 9d7bdc5b90..bbb366f1ae 100644
--- a/sysdeps/nptl/unwind-forcedunwind.c
+++ b/sysdeps/nptl/unwind-forcedunwind.c
@@ -23,6 +23,8 @@
 #include <sysdep.h>
 #include <gnu/lib-names.h>
 
+#pragma GCC optimize ("-fexceptions", "-fasynchronous-unwind-tables")
+
 static void *libgcc_s_handle;
 static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
 static _Unwind_Reason_Code (*libgcc_s_personality)