tree-eh.c (tree_remove_unreachable_handlers): Compare gimple_code with GIMPLE_RESX, not RESX.
* tree-eh.c (tree_remove_unreachable_handlers): Compare gimple_code with GIMPLE_RESX, not RESX. From-SVN: r145381
This commit is contained in:
parent
c1b61fcad3
commit
d3e37a9e81
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-03-31 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* tree-eh.c (tree_remove_unreachable_handlers): Compare
|
||||
gimple_code with GIMPLE_RESX, not RESX.
|
||||
|
||||
2009-03-31 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* c-common.c (c_get_ident): New.
|
||||
|
|
|
@ -2698,7 +2698,7 @@ tree_remove_unreachable_handlers (void)
|
|||
int region = VEC_index (int, label_to_region, uid);
|
||||
SET_BIT (reachable, region);
|
||||
}
|
||||
if (gimple_code (stmt) == RESX)
|
||||
if (gimple_code (stmt) == GIMPLE_RESX)
|
||||
SET_BIT (reachable, gimple_resx_region (stmt));
|
||||
if ((region = lookup_stmt_eh_region (stmt)) >= 0)
|
||||
SET_BIT (contains_stmt, region);
|
||||
|
|
Loading…
Add table
Reference in a new issue