diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-29 11:45:14 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-29 11:45:14 +0000 |
commit | 7fb758943c3b59d8289c354bdb68964b29960dfb (patch) | |
tree | 094f518bd20996a09d5bf60d04664a87247fc387 /gcc/config/mips/iris6.h | |
parent | fab2c5ee9c90c4f819769eb5a5e2d67fb735f3c0 (diff) | |
download | gcc-7fb758943c3b59d8289c354bdb68964b29960dfb.tar.gz |
* iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
Fix format specifier warnings.
* irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
inet_makeaddr, semctl): Prototype.
* mips.c (compute_frame_size): Fix signed/unsigned warnings.
(save_restore_insns): Use base_offset, not gp_offset.
* mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
(ASM_OUTPUT_BYTE): Fix format specifier warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45258 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/iris6.h')
-rw-r--r-- | gcc/config/mips/iris6.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 7a9f509c40e..3ba80d2e634 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -399,7 +399,9 @@ do \ size_directive_output = 1; \ fprintf (STREAM, "%s", SIZE_ASM_OP); \ assemble_name (STREAM, NAME); \ - fprintf (STREAM, ",%d\n", int_size_in_bytes (TREE_TYPE (DECL))); \ + fprintf (STREAM, ","); \ + fprintf (STREAM, HOST_WIDE_INT_PRINT_DEC, int_size_in_bytes (TREE_TYPE (DECL))); \ + fprintf (STREAM, "\n"); \ } \ mips_declare_object (STREAM, NAME, "", ":\n", 0); \ } \ @@ -428,7 +430,9 @@ do { \ size_directive_output = 1; \ fprintf (FILE, "%s", SIZE_ASM_OP); \ assemble_name (FILE, name); \ - fprintf (FILE, ",%d\n", int_size_in_bytes (TREE_TYPE (DECL))); \ + fprintf (FILE, ","); \ + fprintf (FILE, HOST_WIDE_INT_PRINT_DEC, int_size_in_bytes (TREE_TYPE (DECL))); \ + fprintf (FILE, "\n"); \ } \ } while (0) |