* except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Sep 2003 19:29:56 +0000 (19:29 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Sep 2003 19:29:56 +0000 (19:29 +0000)
value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71690 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/except.h

index 6790ecc..3fe8606 100644 (file)
@@ -1,5 +1,10 @@
 2003-09-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
+       * except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO
+       value.
+
+2003-09-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
        * target.h (struct gcc_target): New member external_libcall.
        * target-def.h (TARGET_ASM_EXTERNAL_LIBCALL): Provide default.
        (TARGET_ASM_OUT): Use it.
index 8f07540..e2c3705 100644 (file)
@@ -147,9 +147,13 @@ extern tree (*lang_eh_runtime_type) (tree);
           || (DWARF2_UNWIND_INFO                       \
               && (defined (EH_RETURN_HANDLER_RTX)      \
                   || defined (HAVE_eh_return)))))
-#define MUST_USE_SJLJ_EXCEPTIONS       1
+# define MUST_USE_SJLJ_EXCEPTIONS      1
 #else
-#define MUST_USE_SJLJ_EXCEPTIONS       0
+# ifdef IA64_UNWIND_INFO
+#  define MUST_USE_SJLJ_EXCEPTIONS     0
+# else
+#  define MUST_USE_SJLJ_EXCEPTIONS     (DWARF2_UNWIND_INFO == 0)
+# endif
 #endif
 
 #ifdef CONFIG_SJLJ_EXCEPTIONS