Commit b713aa3a by Andrew Haley Committed by Andrew Haley

re PR java/27756 (ICE in update_aliases, at java/decl.c:192)

2006-05-25  Andrew Haley  <aph@redhat.com>

        PR java/27756
        * decl.c (maybe_pushlevels): When variable ranges are non-nested
        update all lifetimes, not just the first one.

From-SVN: r114131
parent 807bdfb6
2006-05-25 Andrew Haley <aph@redhat.com>
PR java/27756
* decl.c (maybe_pushlevels): When variable ranges are non-nested
update all lifetimes, not just the first one.
2006-05-24 Tom Tromey <tromey@redhat.com>
* java-tree.h: Fixed flag documentation.
......
......@@ -1785,8 +1785,10 @@ maybe_pushlevels (int pc)
truncating variable lifetimes. */
if (end_pc > current_binding_level->end_pc)
{
tree t;
end_pc = current_binding_level->end_pc;
DECL_LOCAL_END_PC (decl) = end_pc;
for (t = decl; t != NULL_TREE; t = TREE_CHAIN (t))
DECL_LOCAL_END_PC (t) = end_pc;
}
maybe_start_try (pc, end_pc);
......
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