cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU flag before setting it.
* cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU flag before setting it. From-SVN: r61345
This commit is contained in:
parent
8c12fc6345
commit
6982ae1549
@ -1,3 +1,8 @@
|
||||
2003-01-15 Josef Zlomek <zlomekj@suse.cz>
|
||||
|
||||
* cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
|
||||
flag before setting it.
|
||||
|
||||
2003-01-15 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* c-semantics.c (genrtl_while_stmt): Improve initial RTL generation
|
||||
|
@ -225,10 +225,14 @@ set_edge_can_fallthru_flag ()
|
||||
{
|
||||
edge e;
|
||||
|
||||
/* The FALLTHRU edge is also CAN_FALLTHRU edge. */
|
||||
for (e = bb->succ; e; e = e->succ_next)
|
||||
if (e->flags & EDGE_FALLTHRU)
|
||||
e->flags |= EDGE_CAN_FALLTHRU;
|
||||
{
|
||||
e->flags &= ~EDGE_CAN_FALLTHRU;
|
||||
|
||||
/* The FALLTHRU edge is also CAN_FALLTHRU edge. */
|
||||
if (e->flags & EDGE_FALLTHRU)
|
||||
e->flags |= EDGE_CAN_FALLTHRU;
|
||||
}
|
||||
|
||||
/* If the BB ends with an invertable condjump all (2) edges are
|
||||
CAN_FALLTHRU edges. */
|
||||
|
Loading…
Reference in New Issue
Block a user