From: Rainer Orth Date: Tue, 23 Sep 2003 19:29:56 +0000 (+0000) Subject: except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO value. X-Git-Tag: releases/gcc-3.4.0~3570 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5748beec64a32b576377d871f6c33918e47c7651;p=thirdparty%2Fgcc.git except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO value. * except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO value. From-SVN: r71690 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6790ecc0de9e..3fe86068a8a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-09-23 Rainer Orth + + * except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO + value. + 2003-09-23 Rainer Orth * target.h (struct gcc_target): New member external_libcall. diff --git a/gcc/except.h b/gcc/except.h index 8f075400fe7b..e2c37059d77a 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -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