OSDN Git Service

* dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Apr 2000 04:01:01 +0000 (04:01 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Apr 2000 04:01:01 +0000 (04:01 +0000)
UNITS_PER_WORD is unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33200 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c

index 8039120..b1156e0 100644 (file)
@@ -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>
index c493d54..ac42c10 100644 (file)
@@ -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