Commit be1ba3d1 by Richard Henderson Committed by Richard Henderson

* gimplify.c (gimplify_body): Watch for body vanishing.

From-SVN: r83598
parent d2d8936f
2004-06-24 Richard Henderson <rth@redhat.com>
* gimplify.c (gimplify_body): Watch for body vanishing.
2004-06-24 Jeff Law <law@redhat.com>
* tree-ssa-dom.c (record_dominating_conditions): New function.
......
......@@ -4142,7 +4142,9 @@ gimplify_body (tree *body_p, tree fndecl)
/* Unshare again, in case gimplification was sloppy. */
unshare_all_trees (body);
if (TREE_CODE (body) == STATEMENT_LIST)
if (!body)
body = alloc_stmt_list ();
else if (TREE_CODE (body) == STATEMENT_LIST)
{
tree t = expr_only (*body_p);
if (t)
......
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