* cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
From-SVN: r47530
This commit is contained in:
parent
f813aee742
commit
fb67cb9fb3
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||||
|
|
||||||
|
* cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
|
||||||
|
|
||||||
2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
* cfgrtl.c (purge_all_dead_edges): Initialize variable.
|
* cfgrtl.c (purge_all_dead_edges): Initialize variable.
|
||||||
|
|
|
@ -674,7 +674,7 @@ enum state
|
||||||
BLOCK_TO_SPLIT
|
BLOCK_TO_SPLIT
|
||||||
};
|
};
|
||||||
#define STATE(bb) (enum state)(size_t)(bb)->aux
|
#define STATE(bb) (enum state)(size_t)(bb)->aux
|
||||||
#define SET_STATE(bb, state) (bb)->aux = (void *)(state)
|
#define SET_STATE(bb, state) (bb)->aux = (void *) (size_t) (state)
|
||||||
|
|
||||||
/* Scan basic block BB for possible BB boundaries inside the block
|
/* Scan basic block BB for possible BB boundaries inside the block
|
||||||
and create new basic blocks in the progress. */
|
and create new basic blocks in the progress. */
|
||||||
|
@ -822,11 +822,8 @@ find_many_sub_basic_blocks (blocks)
|
||||||
int min, max;
|
int min, max;
|
||||||
|
|
||||||
for (i = 0; i < n_basic_blocks; i++)
|
for (i = 0; i < n_basic_blocks; i++)
|
||||||
{
|
SET_STATE (BASIC_BLOCK (i),
|
||||||
SET_STATE (BASIC_BLOCK (i),
|
TEST_BIT (blocks, i) ? BLOCK_TO_SPLIT : BLOCK_ORIGINAL);
|
||||||
TEST_BIT (blocks, i)
|
|
||||||
? BLOCK_TO_SPLIT : BLOCK_ORIGINAL);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < n_basic_blocks; i++)
|
for (i = 0; i < n_basic_blocks; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue