gimple_code with GIMPLE_RESX, not RESX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145381
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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);