dwarf2out.c (dwarf2out_frame_init): Undo last change...
authorAndreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Mon, 2 Feb 1998 10:26:33 +0000 (10:26 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 2 Feb 1998 10:26:33 +0000 (03:26 -0700)
* 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
gcc/dwarf2out.c

index b16b45025c03cea4e89409c1c79782c7f801995e..b1af9ae5287b7c31b1350150e3692776f6c72579 100644 (file)
@@ -1,5 +1,9 @@
 1998-01-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
+       * 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.
 
index 6fc1d11fe9935b57e207e240153d7a2cc5458c2e..c56aeec041db5bd40463d5e056940d4a7b4c7af7 100644 (file)
@@ -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
 }