+2007-10-08 Alexandre Oliva <aoliva@redhat.com>
+
+ * tree-sra.c (scalarize_lsdt): Fix thinko in testing whether
+ the original stmt can throw.
+
2007-10-08 Geoffrey Keating <geoffk@apple.com>
* config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register
tmp2 = fold_build1 (BIT_NOT_EXPR, utype, mask);
tmp2 = int_const_binop (RSHIFT_EXPR, tmp2, minshift, true);
tmp2 = fold_convert (ut, tmp2);
- tmp2 = fold_build2 (BIT_AND_EXPR, utype, tmp3, tmp2);
+ tmp2 = fold_build2 (BIT_AND_EXPR, ut, tmp3, tmp2);
if (tmp3 != tmp2)
{
{
tree_stmt_iterator tsi;
tree first, blist = NULL;
- bool thr = (bsi->bb->flags & EDGE_COMPLEX) != 0;
+ bool thr = tree_could_throw_p (stmt);
/* If the last statement of this BB created an EH edge
before scalarization, we have to locate the first