diff options
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8039120..b1156e0 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 c493d54..ac42c10 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 |