diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2003-10-01 18:54:46 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2003-10-01 18:54:46 +0000 |
commit | c14aea876fe087094419de69bb40e3de6b832fe3 (patch) | |
tree | 9192a91f17e5dc4aa3a0be454aace83b91fdad35 /gcc/except.h | |
parent | c0590bfdf1776a266e7490c5dee838376a4db86e (diff) | |
download | gcc-c14aea876fe087094419de69bb40e3de6b832fe3.zip gcc-c14aea876fe087094419de69bb40e3de6b832fe3.tar.gz gcc-c14aea876fe087094419de69bb40e3de6b832fe3.tar.bz2 |
except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change.
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change.
Allow override.
* doc/tm.texi (MUST_USE_SJLJ_EXCEPTIONS): Document.
From-SVN: r71985
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 e2c3705..75bbd6f 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 |