diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-23 19:29:56 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-23 19:29:56 +0000 |
commit | 5ab63d0086d619938aeaa8524acf7ece4ee71dc5 (patch) | |
tree | 3bb4d0c27c357fd376175aebfdcc34c26b8e1c02 /gcc/except.h | |
parent | 864af2096282bb2fa49507287362ec575701fe2e (diff) | |
download | gcc-5ab63d0086d619938aeaa8524acf7ece4ee71dc5.tar.gz |
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO
value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71690 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.h')
-rw-r--r-- | gcc/except.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/except.h b/gcc/except.h index 8f075400fe7..e2c37059d77 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 |