diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-01 18:54:46 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-01 18:54:46 +0000 |
commit | b5813232c7ae4e92e9262eb292d90359f58c6fe8 (patch) | |
tree | 9192a91f17e5dc4aa3a0be454aace83b91fdad35 /gcc/except.h | |
parent | 40a84a9381345940d2d02dc6085eb6117cd6c8f1 (diff) | |
download | gcc-b5813232c7ae4e92e9262eb292d90359f58c6fe8.tar.gz |
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change.
Allow override.
* doc/tm.texi (MUST_USE_SJLJ_EXCEPTIONS): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71985 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.h')
-rw-r--r-- | gcc/except.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/except.h b/gcc/except.h index e2c37059d77..75bbd6f9c38 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -142,17 +142,15 @@ extern tree (*lang_eh_runtime_type) (tree); mean that we can use call frame exceptions. Detect that the target has appropriate support. */ -#if ! (defined (EH_RETURN_DATA_REGNO) \ +#ifndef MUST_USE_SJLJ_EXCEPTIONS +# if !(defined (EH_RETURN_DATA_REGNO) \ && (defined (IA64_UNWIND_INFO) \ || (DWARF2_UNWIND_INFO \ && (defined (EH_RETURN_HANDLER_RTX) \ || defined (HAVE_eh_return))))) -# define MUST_USE_SJLJ_EXCEPTIONS 1 -#else -# ifdef IA64_UNWIND_INFO -# define MUST_USE_SJLJ_EXCEPTIONS 0 +# define MUST_USE_SJLJ_EXCEPTIONS 1 # else -# define MUST_USE_SJLJ_EXCEPTIONS (DWARF2_UNWIND_INFO == 0) +# define MUST_USE_SJLJ_EXCEPTIONS 0 # endif #endif |