Commit 66174cd0 by Andrew Pinski Committed by Andrew Pinski

re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is…

re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))

2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17967
        * tree-cfg.c (remove_usless_stmts_cond):  Don't Fold statement.

From-SVN: r89492
parent 84dd478f
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17967
* tree-cfg.c (remove_usless_stmts_cond): Don't Fold statement.
2004-10-23 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-dom.c (record_equality): Use loop depth to determine
......
......@@ -1201,7 +1201,6 @@ remove_useless_stmts_cond (tree *stmt_p, struct rus_data *data)
else_has_label = data->has_label;
data->has_label = save_has_label | then_has_label | else_has_label;
fold_stmt (stmt_p);
then_clause = COND_EXPR_THEN (*stmt_p);
else_clause = COND_EXPR_ELSE (*stmt_p);
cond = COND_EXPR_COND (*stmt_p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment