diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-11 19:24:09 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-11 19:24:09 +0000 |
commit | de8409f83aafae832204dc8cea829d90ab4cbf79 (patch) | |
tree | fe53ca4ba392d25b1374ffe33608794308bcfc0e /gcc/global.c | |
parent | 5352873f2950405be6e78d9a1b8f3bf89e645b26 (diff) | |
download | gcc-de8409f83aafae832204dc8cea829d90ab4cbf79.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56212 138bc75d-0d04-0410-961f-82ee72b054a4
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 50a1648c1f8..d7950fa9aa2 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; |