diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-04-17 04:01:01 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-04-17 04:01:01 +0000 |
commit | 08cb3d38deb58115562f9e6e3f0f3f127834347b (patch) | |
tree | b33d1bcb501fa6dfbe8fd50343d54014c7455e0e | |
parent | 76c9d22625877d66c0d0b25f1f339d5998fee7ae (diff) | |
download | gcc-08cb3d38deb58115562f9e6e3f0f3f127834347b.zip gcc-08cb3d38deb58115562f9e6e3f0f3f127834347b.tar.gz gcc-08cb3d38deb58115562f9e6e3f0f3f127834347b.tar.bz2 |
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
-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 |