diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2010-06-02 22:05:45 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2010-06-02 22:05:45 +0000 |
commit | 77ec4307409a0cda1a8feb4d2e5853cde6ec584e (patch) | |
tree | c1c77f65435de36762d2a4bc8d60a37fd1060319 /gcc/except.h | |
parent | 3f7c0b1bc39daf8a1ba4c3d306ab8832ff967a93 (diff) | |
download | gcc-77ec4307409a0cda1a8feb4d2e5853cde6ec584e.zip gcc-77ec4307409a0cda1a8feb4d2e5853cde6ec584e.tar.gz gcc-77ec4307409a0cda1a8feb4d2e5853cde6ec584e.tar.bz2 |
mkconfig.sh: Include insn-flags.h and insn-constants.h before defaults.h.
* mkconfig.sh: Include insn-flags.h and insn-constants.h before
defaults.h.
* except.h: Move MUST_USE_SJLJ_EXCEPTIONS and USING_SJLJ_EXCEPTIONS
to defaults.h
* expr.h (BRANCH_COST, MOVE_RATIO, CLEAR_RATIO, SET_RATIO,
DEFAULT_FUNCTION_ARG_PADDING, FUNCTION_ARG_PADDING,
FUNCTION_ARG_BOUNDARY, STACK_SAVEAREA_MODE, STACK_SIZE_MODE,
STACK_CHECK_BUILTIN, STACK_CHECK_STATIC_BUILTIN,
STACK_CHECK_PROBE_INTERVAL_EXP, STACK_CHECK_MOVING_SP,
STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT,
STACK_CHECK_MAX_FRAME_SIZE, STACK_CHECK_FIXED_FRAME_SIZE,
STACK_CHECK_MAX_VAR_SIZE): Move target macro defaults to defaults.h.
* defaults.h: Updated for above mentioned changes.
From-SVN: r160195
Diffstat (limited to 'gcc/except.h')
-rw-r--r-- | gcc/except.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/gcc/except.h b/gcc/except.h index ef511c9..068a444 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -295,50 +295,6 @@ extern eh_landing_pad get_eh_landing_pad_from_rtx (const_rtx); FUNCTION_DECL for `std::terminate'. */ extern tree (*lang_protect_cleanup_actions) (void); - -/* Just because the user configured --with-sjlj-exceptions=no doesn't - mean that we can use call frame exceptions. Detect that the target - has appropriate support. */ - -#ifndef MUST_USE_SJLJ_EXCEPTIONS -# if defined (EH_RETURN_DATA_REGNO) \ - && (defined (TARGET_UNWIND_INFO) \ - || (DWARF2_UNWIND_INFO \ - && (defined (EH_RETURN_HANDLER_RTX) \ - || defined (HAVE_eh_return)))) -# define MUST_USE_SJLJ_EXCEPTIONS 0 -# else -# define MUST_USE_SJLJ_EXCEPTIONS 1 -# endif -#endif - -#ifdef CONFIG_SJLJ_EXCEPTIONS -# if CONFIG_SJLJ_EXCEPTIONS == 1 -# define USING_SJLJ_EXCEPTIONS 1 -# endif -# if CONFIG_SJLJ_EXCEPTIONS == 0 -# define USING_SJLJ_EXCEPTIONS 0 -# if !defined(EH_RETURN_DATA_REGNO) - #error "EH_RETURN_DATA_REGNO required" -# endif -# if ! (defined(TARGET_UNWIND_INFO) || DWARF2_UNWIND_INFO) - #error "{DWARF2,TARGET}_UNWIND_INFO required" -# endif -# if !defined(TARGET_UNWIND_INFO) \ - && !(defined(EH_RETURN_HANDLER_RTX) || defined(HAVE_eh_return)) - #error "EH_RETURN_HANDLER_RTX or eh_return required" -# endif -/* Usually the above error checks will have already triggered an - error, but backends may set MUST_USE_SJLJ_EXCEPTIONS for their own - reasons. */ -# if MUST_USE_SJLJ_EXCEPTIONS - #error "Must use SJLJ exceptions but configured not to" -# endif -# endif -#else -# define USING_SJLJ_EXCEPTIONS MUST_USE_SJLJ_EXCEPTIONS -#endif - struct GTY(()) throw_stmt_node { gimple stmt; int lp_nr; |