From: Richard Henderson Date: Fri, 6 Jul 2001 23:13:42 +0000 (-0700) Subject: except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of DWARF2_UNWIND_INFO not... X-Git-Tag: prereleases/libstdc++-3.0.95~3426 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84fc8b47f39bdb9b21dbb2eacb85197920bb9f5b;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c92144ed48db..3d8bc4d749d0 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 b5a219ec2ea0..39500a030a74 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)))))