diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-19 22:38:51 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-19 22:38:51 +0000 |
commit | 30b549263afbe0b17e18fc7d923c5fe136755800 (patch) | |
tree | 4c3c5d0ad1e286bab855f159cb29c249ba1ddc97 /gcc/dwarf2out.c | |
parent | 28e105ab8a0e4dd1616d7e7b5ba786cb61e00ba1 (diff) | |
download | gcc-30b549263afbe0b17e18fc7d923c5fe136755800.tar.gz |
* svr4.h (ASM_GENERATE_INTERNAL_LABEL): Cast arg to unsigned.
* dwarf2out.c (ASM_OUTPUT_DWARF_DATA1): Likewise.
Add parens to various macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20619 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index ef5c73cf05d..6610e911871 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -275,7 +275,7 @@ static void dwarf2out_stack_adjust PROTO((rtx)); #ifndef ASM_OUTPUT_DWARF_DATA1 #define ASM_OUTPUT_DWARF_DATA1(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%x", ASM_BYTE_OP, VALUE) + fprintf ((FILE), "\t%s\t0x%x", ASM_BYTE_OP, (unsigned) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_DELTA1 @@ -363,24 +363,24 @@ static void dwarf2out_stack_adjust PROTO((rtx)); #ifndef ASM_OUTPUT_DWARF_DATA2 #define ASM_OUTPUT_DWARF_DATA2(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%x", UNALIGNED_SHORT_ASM_OP, (unsigned) VALUE) + fprintf ((FILE), "\t%s\t0x%x", UNALIGNED_SHORT_ASM_OP, (unsigned) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_DATA4 #define ASM_OUTPUT_DWARF_DATA4(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%x", UNALIGNED_INT_ASM_OP, (unsigned) VALUE) + fprintf ((FILE), "\t%s\t0x%x", UNALIGNED_INT_ASM_OP, (unsigned) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_DATA #define ASM_OUTPUT_DWARF_DATA(FILE,VALUE) \ fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_OFFSET_ASM_OP, \ - (unsigned long) VALUE) + (unsigned long) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_ADDR_DATA #define ASM_OUTPUT_DWARF_ADDR_DATA(FILE,VALUE) \ fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_WORD_ASM_OP, \ - (unsigned long) VALUE) + (unsigned long) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_DATA8 @@ -388,13 +388,13 @@ static void dwarf2out_stack_adjust PROTO((rtx)); do { \ if (WORDS_BIG_ENDIAN) \ { \ - fprintf ((FILE), "\t%s\t0x%lx\n", UNALIGNED_INT_ASM_OP, HIGH_VALUE); \ - fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_INT_ASM_OP, LOW_VALUE);\ + fprintf ((FILE), "\t%s\t0x%lx\n", UNALIGNED_INT_ASM_OP, (HIGH_VALUE));\ + fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_INT_ASM_OP, (LOW_VALUE));\ } \ else \ { \ - fprintf ((FILE), "\t%s\t0x%lx\n", UNALIGNED_INT_ASM_OP, LOW_VALUE);\ - fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_INT_ASM_OP, HIGH_VALUE); \ + fprintf ((FILE), "\t%s\t0x%lx\n", UNALIGNED_INT_ASM_OP, (LOW_VALUE)); \ + fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_INT_ASM_OP, (HIGH_VALUE)); \ } \ } while (0) #endif |