Commit fb67cb9f by Richard Kenner Committed by Richard Kenner

* cfgbuild.c (SET_STATE): Add cast to eliminate warning.a

From-SVN: r47530
parent f813aee7
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>
* cfgrtl.c (purge_all_dead_edges): Initialize variable.
......
......@@ -674,7 +674,7 @@ enum state
BLOCK_TO_SPLIT
};
#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
and create new basic blocks in the progress. */
......@@ -822,11 +822,8 @@ find_many_sub_basic_blocks (blocks)
int min, max;
for (i = 0; i < n_basic_blocks; i++)
{
SET_STATE (BASIC_BLOCK (i),
TEST_BIT (blocks, i)
? BLOCK_TO_SPLIT : BLOCK_ORIGINAL);
}
SET_STATE (BASIC_BLOCK (i),
TEST_BIT (blocks, i) ? BLOCK_TO_SPLIT : BLOCK_ORIGINAL);
for (i = 0; i < n_basic_blocks; i++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment