From 307b599c91ee93049fd69228b9d59b6ea2e030ef Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Mon, 19 May 2003 00:31:10 +0000 Subject: flags.h (g_switch_value): Change to an unsigned HOST_WIDE_INT. * flags.h (g_switch_value): Change to an unsigned HOST_WIDE_INT. * toplev.c (g_switch_value): Likewise. * config/alpha/alpha.c (small_symbolic_operand): Remove g_switch_value cast. (alpha_in_small_data_p): Cast size to an unsigned HOST_WIDE_INT. * config/frv/frv.c (frv_in_small_data_p): Cast size to an unsigned HOST_WIDE_INT. * config/frv/frv.h (g_switch_value, g_switch_set): Remove. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Declare g_switch_set. * config/m32r/m32r.c (m32r_in_small_data_p): Cast size to an unsigned HOST_WIDE_INT. (m32r_asm_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED. * config/m32r/m32r.h (g_switch_value, g_switch_set): Remove. (ASM_OUTPUT_ALIGNED_COMMON): Declare g_switch_value. * config/rs6000/rs6000.c (rs6000_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED. (small_data_operand): Cast summand to unsigned HOST_WIDE_INT. (rs6000_elf_in_small_data_p): Cast size to unsigned HOST_WIDE_INT. * config/rs6000/sysv4.h (g_switch_value, g_switch_set): Remove. (SUBTARGET_OVERRIDE_OPTIONS): Declare g_switch_value and g_switch_set. (ASM_OUTPUT_ALIGNED_LOCAL): Declare g_switch_value and remove g_switch_value cast. From-SVN: r66945 --- gcc/config/frv/frv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/frv/frv.c') diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 822c19a..c2a8ef9 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -9714,7 +9714,7 @@ frv_in_small_data_p (decl) return false; size = int_size_in_bytes (TREE_TYPE (decl)); - if (size > 0 && size <= g_switch_value) + if (size > 0 && (unsigned HOST_WIDE_INT) size <= g_switch_value) return true; /* If we already know which section the decl should be in, see if -- cgit v1.1