* gimplify.c (gimplify_body): Watch for body vanishing.
From-SVN: r83598
This commit is contained in:
parent
d2d8936f3f
commit
be1ba3d170
@ -1,3 +1,7 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user