aboutsummaryrefslogtreecommitdiff
path: root/gcc/lcm.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-11-30 14:28:43 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-11-30 14:28:43 -0800
commite5b7ca327d3df06a69998bd72ae2cccad3759d25 (patch)
tree3f6d71943d76c090980cf6d0fdf0c35875a06b61 /gcc/lcm.c
parente48addeebcc08efa9cd2a13fd2e70e2c92db26d8 (diff)
downloadgcc-e5b7ca327d3df06a69998bd72ae2cccad3759d25.zip
gcc-e5b7ca327d3df06a69998bd72ae2cccad3759d25.tar.gz
gcc-e5b7ca327d3df06a69998bd72ae2cccad3759d25.tar.bz2
lcm.c (compute_laterin): Cast bb->aux to size_t not int.
* lcm.c (compute_laterin): Cast bb->aux to size_t not int. (compute_nearerout): Likewise. * ggc-page.c (ggc_page_print_statistics): Explicitly cast size_t to unsigned long for formatting. From-SVN: r30728
Diffstat (limited to 'gcc/lcm.c')
-rw-r--r--gcc/lcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lcm.c b/gcc/lcm.c
index a6cdd7d..64a00a4 100644
--- a/gcc/lcm.c
+++ b/gcc/lcm.c
@@ -274,7 +274,7 @@ compute_laterin (edge_list, earliest, antloc, later, laterin)
the entry block. That edge should always have a LATER value the
same as EARLIEST for that edge. */
for (e = ENTRY_BLOCK_PTR->succ; e; e = e->succ_next)
- sbitmap_copy (later[(int)e->aux], earliest[(int)e->aux]);
+ sbitmap_copy (later[(size_t)e->aux], earliest[(size_t)e->aux]);
/* Add all the blocks to the worklist. This prevents an early exit from
the loop given our optimistic initialization of LATER above. */
@@ -610,7 +610,7 @@ compute_nearerout (edge_list, farthest, st_avloc, nearer, nearerout)
the exit block. That edge should always have a NEARER value the
same as FARTHEST for that edge. */
for (e = EXIT_BLOCK_PTR->pred; e; e = e->pred_next)
- sbitmap_copy (nearer[(int)e->aux], farthest[(int)e->aux]);
+ sbitmap_copy (nearer[(size_t)e->aux], farthest[(size_t)e->aux]);
/* Add all the blocks to the worklist. This prevents an early exit
from the loop given our optimistic initialization of NEARER. */