diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-08-11 19:24:09 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-08-11 19:24:09 +0000 |
commit | e0c32c62d5c47790333bb557ed2d89a3806246d0 (patch) | |
tree | fe53ca4ba392d25b1374ffe33608794308bcfc0e /gcc/global.c | |
parent | 7ae8cf75dae94f2b0b68f433e0962ffe7883a158 (diff) | |
download | gcc-e0c32c62d5c47790333bb557ed2d89a3806246d0.zip gcc-e0c32c62d5c47790333bb557ed2d89a3806246d0.tar.gz gcc-e0c32c62d5c47790333bb557ed2d89a3806246d0.tar.bz2 |
dsp16xx.c (print_operand): Fix format specifier.
* dsp16xx.c (print_operand): Fix format specifier.
* dsp16xx.md: Avoid automatic aggregate initialization.
* frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
* h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
integer constant modifier.
* ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
* mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
guards.
* sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
* v850.c (v850_select_section): Mark parameter with
ATTRIBUTE_UNUSED.
* global.c (global_alloc): Const-ify.
* ra-colorize.c (hardregset_to_string): Fix format specifier.
From-SVN: r56212
Diffstat (limited to 'gcc/global.c')
-rw-r--r-- | gcc/global.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/global.c b/gcc/global.c index 50a1648..d7950fa 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -367,8 +367,8 @@ global_alloc (file) that need a register window. So prefer the ones that can be used in a leaf function. */ { - char *cheap_regs; - char *leaf_regs = LEAF_REGISTERS; + const char *cheap_regs; + const char *const leaf_regs = LEAF_REGISTERS; if (only_leaf_regs_used () && leaf_function_p ()) cheap_regs = leaf_regs; |