Commit c1bb7f86 by Jason Merrill

except.c (initialize_handler_parm): Use fold_build_cleanup_point_expr.

        * except.c (initialize_handler_parm): Use
        fold_build_cleanup_point_expr.

From-SVN: r128115
parent 7b71bedf
......@@ -390,7 +390,7 @@ initialize_handler_parm (tree decl, tree exp)
CONV_IMPLICIT|CONV_FORCE_TEMP, 0);
/* Force cleanups now to avoid nesting problems with the
MUST_NOT_THROW_EXPR. */
init = build1 (CLEANUP_POINT_EXPR, TREE_TYPE (init), init);
init = fold_build_cleanup_point_expr (TREE_TYPE (init), init);
init = build1 (MUST_NOT_THROW_EXPR, TREE_TYPE (init), init);
}
......
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