mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 04:14:31 +08:00
gimple-low.c (block_may_fallthru): Correct handling of SWITCH_EXPR--may fall through if SWITCH_LABELS is NULL.
2005-01-25 Ian Lance Taylor <ian@airs.com> * gimple-low.c (block_may_fallthru): Correct handling of SWITCH_EXPR--may fall through if SWITCH_LABELS is NULL. From-SVN: r94250
This commit is contained in:
parent
ca91607b61
commit
6a03afdf3e
@ -1,3 +1,8 @@
|
||||
2005-01-25 Ian Lance Taylor <ian@airs.com>
|
||||
|
||||
* gimple-low.c (block_may_fallthru): Correct handling of
|
||||
SWITCH_EXPR--may fall through if SWITCH_LABELS is NULL.
|
||||
|
||||
2005-01-26 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* config/cris/cris.h (CPP_SPEC): Adjust the various mtune=
|
||||
|
@ -287,7 +287,7 @@ block_may_fallthru (tree block)
|
||||
branch to a selected label and hence can not fall through.
|
||||
Otherwise SWITCH_BODY is set, and the switch can fall
|
||||
through. */
|
||||
return SWITCH_LABELS (stmt) != NULL_TREE;
|
||||
return SWITCH_LABELS (stmt) == NULL_TREE;
|
||||
|
||||
case COND_EXPR:
|
||||
if (block_may_fallthru (COND_EXPR_THEN (stmt)))
|
||||
|
Loading…
Reference in New Issue
Block a user