From 08cb3d38deb58115562f9e6e3f0f3f127834347b Mon Sep 17 00:00:00 2001 From: Mark Mitchell 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. * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that UNITS_PER_WORD is unsigned. From-SVN: r33200 --- gcc/ChangeLog | 3 +++ gcc/dwarf2out.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8039120796f..b1156e066b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2000-04-16 Mark Mitchell + * 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 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index c493d54f572..ac42c1019c6 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