diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-26 18:13:38 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-26 18:13:38 +0000 |
commit | 20f0a040ddc6a91c13ce35a4cb42facfb61200c8 (patch) | |
tree | 40abe675a8aa34a0e0ee833d87a1bb5ee20dd16c /gcc/global.c | |
parent | 6e844d29c36881e431fbd8aea65ba3b36c845d72 (diff) | |
download | gcc-20f0a040ddc6a91c13ce35a4cb42facfb61200c8.tar.gz |
* c-parse.in (cast_expr): Constify.
* cccp.c (special_symbol): Likewise.
* cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
* dwarf2out.c (base_type_die): Likewise.
* global.c (allocno_compare): Likewise.
* local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
* regclass.c (fix_register): Likewise.
* rtl.h (fix_register): Likewise.
* stupid.c (stupid_reg_compare): Likewise.
* toplev.c (decode_f_option): Likewise.
* tree.c (build_complex_type): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30196 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/global.c')
-rw-r--r-- | gcc/global.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/global.c b/gcc/global.c index 17bfaf4246d..3ca1d9ccd03 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -594,7 +594,7 @@ allocno_compare (v1p, v2p) const PTR v1p; const PTR v2p; { - int v1 = *(int *)v1p, v2 = *(int *)v2p; + int v1 = *(const int *)v1p, v2 = *(const int *)v2p; /* Note that the quotient will never be bigger than the value of floor_log2 times the maximum number of times a register can occur in one insn (surely less than 100). |