diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-05-16 20:57:04 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-05-16 20:57:04 +0000 |
commit | 5f1ed3b2483c4f8c40cd49698b9d5fc7ade9145d (patch) | |
tree | 92855984b2f17e5332b89bc990eb9b4058d8858d | |
parent | 0baa170258181471cfbc1ca6dc1d0e86c0459f53 (diff) | |
download | gcc-5f1ed3b2483c4f8c40cd49698b9d5fc7ade9145d.zip gcc-5f1ed3b2483c4f8c40cd49698b9d5fc7ade9145d.tar.gz gcc-5f1ed3b2483c4f8c40cd49698b9d5fc7ade9145d.tar.bz2 |
dsp16xx.c (print_operand_address): Fix format specifier warning.
* dsp16xx.c (print_operand_address): Fix format specifier warning.
* dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.
From-SVN: r66882
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/dsp16xx/dsp16xx.c | 2 | ||||
-rw-r--r-- | gcc/config/dsp16xx/dsp16xx.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea25e51..79afd55 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * dsp16xx.c (print_operand_address): Fix format specifier warning. + * dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers. + * c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format specifier warnings. diff --git a/gcc/config/dsp16xx/dsp16xx.c b/gcc/config/dsp16xx/dsp16xx.c index fc15dfa..60b8deb 100644 --- a/gcc/config/dsp16xx/dsp16xx.c +++ b/gcc/config/dsp16xx/dsp16xx.c @@ -1938,7 +1938,7 @@ print_operand_address(file, addr) default: if (FITS_5_BITS (addr)) - fprintf (file, "*(0x%x)", (INTVAL (addr) & 0x20)); + fprintf (file, "*(0x%x)", (int)(INTVAL (addr) & 0x20)); else output_addr_const (file, addr); } diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h index 353fb71..454ea7d 100644 --- a/gcc/config/dsp16xx/dsp16xx.h +++ b/gcc/config/dsp16xx/dsp16xx.h @@ -130,7 +130,7 @@ extern GTY(()) rtx dsp16xx_lshrhi3_libcall; /* Include path is determined from the environment variable */ #define INCLUDE_DEFAULTS \ { \ - { 0, 0, 0 } \ + { 0, 0, 0, 0, 0 } \ } /* Names to predefine in the preprocessor for this target machine. */ |