From 84fc8b47f39bdb9b21dbb2eacb85197920bb9f5b Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 6 Jul 2001 16:13:42 -0700 Subject: [PATCH] except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of DWARF2_UNWIND_INFO not just whether it is defined. * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of DWARF2_UNWIND_INFO not just whether it is defined. From-SVN: r43829 --- gcc/ChangeLog | 5 +++++ gcc/except.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c92144ed48d..3d8bc4d749d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-07-06 Richard Henderson + + * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of + DWARF2_UNWIND_INFO not just whether it is defined. + 2001-07-06 Diego Novillo * combine.c (combine_simplify_rtx): Also recompute 'mode' if the diff --git a/gcc/except.h b/gcc/except.h index b5a219ec2ea..39500a030a7 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -180,7 +180,7 @@ extern tree (*lang_eh_runtime_type) PARAMS ((tree)); #if ! (defined (EH_RETURN_DATA_REGNO) \ && (defined (IA64_UNWIND_INFO) \ - || (defined (DWARF2_UNWIND_INFO) \ + || (DWARF2_UNWIND_INFO \ && defined (EH_RETURN_STACKADJ_RTX) \ && (defined (EH_RETURN_HANDLER_RTX) \ || defined (HAVE_eh_return))))) -- 2.30.2