From 7eb04d1c160c10560b9d665becc666107b815d9b Mon Sep 17 00:00:00 2001
From: mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 17 Apr 2000 04:01:01 +0000
Subject: [PATCH] 	* dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now
 that 	UNITS_PER_WORD is unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33200 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog   | 3 +++
 gcc/dwarf2out.c | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8039120796f6..b1156e066b70 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
 
+	* dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
+	UNITS_PER_WORD is unsigned.
+
 	* tree.h (struct tree_common): Remove misleading comment.
 
 2000-04-16  Dave Pitts  <dpitts@cozx.com>
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index c493d54f5726..ac42c1019c65 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -164,9 +164,9 @@ dw_fde_node;
 
 /* Offsets recorded in opcodes are a multiple of this alignment factor.  */
 #ifdef STACK_GROWS_DOWNWARD
-#define DWARF_CIE_DATA_ALIGNMENT (-UNITS_PER_WORD)
+#define DWARF_CIE_DATA_ALIGNMENT (-((int) UNITS_PER_WORD))
 #else
-#define DWARF_CIE_DATA_ALIGNMENT UNITS_PER_WORD
+#define DWARF_CIE_DATA_ALIGNMENT ((int) UNITS_PER_WORD)
 #endif
 
 /* A pointer to the base of a table that contains frame description
-- 
GitLab