Commit 1b2b8ee7 by Jason Merrill Committed by Jason Merrill

re PR rtl-optimization/12547 ([tree-ssa] simple java code with…

re PR rtl-optimization/12547 ([tree-ssa] simple java code with -fcheck-references causes gimplification failed)

        PR optimization/12547
        * lang.c (java_tree_inlining_walk_subtrees): Just walk
        BLOCK_EXPR_BODY directly.

From-SVN: r73530
parent a198480e
2003-11-12 Jason Merrill <jason@redhat.com>
PR optimization/12547
* lang.c (java_tree_inlining_walk_subtrees): Just walk
BLOCK_EXPR_BODY directly.
2003-11-12 Andrew Haley <aph@redhat.com>
PR java/11045
......
......@@ -840,21 +840,14 @@ java_tree_inlining_walk_subtrees (tree *tp ATTRIBUTE_UNUSED,
switch (code)
{
case BLOCK:
if (BLOCK_EXPR_BODY (t))
{
tree *prev = &BLOCK_EXPR_BODY (*tp);
while (*prev)
{
WALK_SUBTREE (*prev);
prev = &TREE_CHAIN (*prev);
}
}
WALK_SUBTREE (BLOCK_EXPR_BODY (t));
return NULL_TREE;
break;
default:
return NULL_TREE;
}
#undef WALK_SUBTREE
}
/* Called from unsafe_for_reeval. */
......
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