aboutsummaryrefslogtreecommitdiff
path: root/gcc/local-alloc.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/local-alloc.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/local-alloc.c')
-rw-r--r--gcc/local-alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index b45f339..ee72b7d 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -1503,7 +1503,7 @@ qty_compare_1 (q1p, q2p)
const PTR q1p;
const PTR q2p;
{
- register int q1 = *(int *)q1p, q2 = *(int *)q2p;
+ register int q1 = *(const int *)q1p, q2 = *(const int *)q2p;
register int tem = QTY_CMP_PRI (q2) - QTY_CMP_PRI (q1);
if (tem != 0)
@@ -1543,7 +1543,7 @@ qty_sugg_compare_1 (q1p, q2p)
const PTR q1p;
const PTR q2p;
{
- register int q1 = *(int *)q1p, q2 = *(int *)q2p;
+ register int q1 = *(const int *)q1p, q2 = *(const int *)q2p;
register int tem = QTY_CMP_SUGG (q1) - QTY_CMP_SUGG (q2);
if (tem != 0)