RFA (bfin): fix PR46737
Joern Rennecke
amylaar@spamcop.net
Mon Dec 6 16:31:00 GMT 2010
cross-built on x86_64-pc-linux-gnu .
-------------- next part --------------
2010-12-06 Joern Rennecke <amylaar@spamcop.net>
PR target/46737
* config/bfin/bfin.c (BB_AUX_INDEX): Cast to size_t.
(bfin_reorder_loops): Change type of index to size_t.
Index: config/bfin/bfin.c
===================================================================
--- config/bfin/bfin.c (revision 167494)
+++ config/bfin/bfin.c (working copy)
@@ -4662,7 +4662,7 @@ free_loops (loop_info loops)
}
}
-#define BB_AUX_INDEX(BB) ((unsigned)(BB)->aux)
+#define BB_AUX_INDEX(BB) ((size_t)(BB)->aux)
/* The taken-branch edge from the loop end can actually go forward. Since the
Blackfin's LSETUP instruction requires that the loop end be after the loop
@@ -4679,7 +4679,7 @@ bfin_reorder_loops (loop_info loops, FIL
for (loop = loops; loop; loop = loop->next)
{
- unsigned index;
+ size_t index;
basic_block bb;
edge e;
edge_iterator ei;
More information about the Gcc-patches
mailing list