aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/frv/frv.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@alumni.cmu.edu>2003-05-19 00:31:10 +0000
committerMatt Kraai <kraai@gcc.gnu.org>2003-05-19 00:31:10 +0000
commit307b599c91ee93049fd69228b9d59b6ea2e030ef (patch)
treef366b57eefbdbdfedd85abe04f495ca30220e2a2 /gcc/config/frv/frv.c
parent48ef54fb15e8bdddcd9eca447577cceeac3a5b3a (diff)
downloadgcc-307b599c91ee93049fd69228b9d59b6ea2e030ef.zip
gcc-307b599c91ee93049fd69228b9d59b6ea2e030ef.tar.gz
gcc-307b599c91ee93049fd69228b9d59b6ea2e030ef.tar.bz2
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
Diffstat (limited to 'gcc/config/frv/frv.c')
-rw-r--r--gcc/config/frv/frv.c2
1 files changed, 1 insertions, 1 deletions
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