aboutsummaryrefslogtreecommitdiff
path: root/gcc/global.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-10-26 18:13:38 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-10-26 18:13:38 +0000
commitec0ce6e261a7963807419c597bb8644e7a7972ff (patch)
tree40abe675a8aa34a0e0ee833d87a1bb5ee20dd16c /gcc/global.c
parentd8d79d15881ec97586e941c199e94a9c88088aca (diff)
downloadgcc-ec0ce6e261a7963807419c597bb8644e7a7972ff.zip
gcc-ec0ce6e261a7963807419c597bb8644e7a7972ff.tar.gz
gcc-ec0ce6e261a7963807419c597bb8644e7a7972ff.tar.bz2
c-parse.in (cast_expr): Constify.
* 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. From-SVN: r30196
Diffstat (limited to 'gcc/global.c')
-rw-r--r--gcc/global.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/global.c b/gcc/global.c
index 17bfaf4..3ca1d9c 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).