From 91193900234d9debe67efc4c5cc960dd284cfe46 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 2 Feb 1998 10:26:33 +0000 Subject: [PATCH] dwarf2out.c (dwarf2out_frame_init): Undo last change... * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that -fno-sjlj-exceptions works for a target that defines DWARF2_UNWIND_INFO as zero. From-SVN: r17596 --- gcc/ChangeLog | 4 ++++ gcc/dwarf2out.c | 9 +++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b16b45025c0..b1af9ae5287 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 1998-01-30 Andreas Schwab + * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that + -fno-sjlj-exceptions works for a target that defines + DWARF2_UNWIND_INFO as zero. + * regmove.c (fixup_match_1): Undo last change which removed some "useless" code, and add a comment explaining this. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 6fc1d11fe99..c56aeec041d 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -1885,12 +1885,9 @@ dwarf2out_frame_init () sake of lookup_cfa. */ #ifdef DWARF2_UNWIND_INFO - if (DWARF2_UNWIND_INFO) - { - /* On entry, the Canonical Frame Address is at SP. */ - dwarf2out_def_cfa (NULL, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET); - initial_return_save (INCOMING_RETURN_ADDR_RTX); - } + /* On entry, the Canonical Frame Address is at SP. */ + dwarf2out_def_cfa (NULL, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET); + initial_return_save (INCOMING_RETURN_ADDR_RTX); #endif } -- 2.30.2