[Aarch64] Do not define DONT_USE_BUILTIN_SETJMP

Message ID 4347593.LvFx2qVVIh@fomalhaut
State Committed
Commit fc01cfa96786ba94077e45c475768f38592e63cf
Headers
Series [Aarch64] Do not define DONT_USE_BUILTIN_SETJMP |

Commit Message

Eric Botcazou Oct. 5, 2021, 10:34 a.m. UTC
  Hi,

we have been using an Ada compiler for the Aarch64 architecture configured 
with SJLJ exceptions as for the other architectures for some time, and have 
not run into any problems up to now so the setting looks obsolete.

OK for the mainline?


2021-10-05  Eric Botcazou  <ebotcazou@adacore.com>

	* config/aarch64/aarch64.h (DONT_USE_BUILTIN_SETJMP): Delete.
  

Patch

diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 2792bb29adb..f7829baefd8 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -656,10 +656,6 @@  extern unsigned aarch64_architecture_version;
 #define EH_RETURN_STACKADJ_RTX	gen_rtx_REG (Pmode, R4_REGNUM)
 #define EH_RETURN_HANDLER_RTX  aarch64_eh_return_handler_rtx ()
 
-/* Don't use __builtin_setjmp until we've defined it.  */
-#undef DONT_USE_BUILTIN_SETJMP
-#define DONT_USE_BUILTIN_SETJMP 1
-
 #undef TARGET_COMPUTE_FRAME_LAYOUT
 #define TARGET_COMPUTE_FRAME_LAYOUT aarch64_layout_frame