Commit 4a8043c4 by Kai Tietz Committed by Kai Tietz

re PR target/55445 (Always defined __SEH__ when build from trunk)

	PR target/55445
	* raise-gcc.c (__SEH__): Additional check that
	SjLj isn't active.

From-SVN: r198205
parent d70a81dd
2013-04-23 Kai Tietz <ktietz@redhat.com>
PR target/55445
* raise-gcc.c (__SEH__): Additional check that
SjLj isn't active.
2013-04-23 Eric Botcazou <ebotcazou@adacore.com> 2013-04-23 Eric Botcazou <ebotcazou@adacore.com>
Pascal Obry <obry@adacore.com> Pascal Obry <obry@adacore.com>
......
...@@ -1019,7 +1019,7 @@ extern void __gnat_notify_unhandled_exception (struct Exception_Occurrence *); ...@@ -1019,7 +1019,7 @@ extern void __gnat_notify_unhandled_exception (struct Exception_Occurrence *);
#ifdef __USING_SJLJ_EXCEPTIONS__ #ifdef __USING_SJLJ_EXCEPTIONS__
#define PERSONALITY_FUNCTION __gnat_personality_sj0 #define PERSONALITY_FUNCTION __gnat_personality_sj0
#elif defined(__SEH__) #elif defined (__SEH__)
#define PERSONALITY_FUNCTION __gnat_personality_imp #define PERSONALITY_FUNCTION __gnat_personality_imp
#else #else
#define PERSONALITY_FUNCTION __gnat_personality_v0 #define PERSONALITY_FUNCTION __gnat_personality_v0
...@@ -1056,7 +1056,7 @@ typedef int version_arg_t; ...@@ -1056,7 +1056,7 @@ typedef int version_arg_t;
typedef _Unwind_Action phases_arg_t; typedef _Unwind_Action phases_arg_t;
#endif #endif
#ifdef __SEH__ #if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
static static
#endif #endif
_Unwind_Reason_Code _Unwind_Reason_Code
...@@ -1222,7 +1222,7 @@ __gnat_Unwind_ForcedUnwind (_Unwind_Exception *e, ...@@ -1222,7 +1222,7 @@ __gnat_Unwind_ForcedUnwind (_Unwind_Exception *e,
#endif #endif
} }
#ifdef __SEH__ #if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
#define STATUS_USER_DEFINED (1U << 29) #define STATUS_USER_DEFINED (1U << 29)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment