aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-live.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-live.c')
-rw-r--r--gcc/tree-ssa-live.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c
index 6836145..e4505d6 100644
--- a/gcc/tree-ssa-live.c
+++ b/gcc/tree-ssa-live.c
@@ -627,7 +627,7 @@ clear_unused_block_pointer_1 (tree *tp, int *, void *)
so that they will not be streamed out. */
static void
-clear_unused_block_pointer ()
+clear_unused_block_pointer (void)
{
basic_block bb;
gimple_stmt_iterator gsi;
@@ -814,7 +814,7 @@ remove_unused_locals (void)
}
FOR_EACH_EDGE (e, ei, bb->succs)
- if (e->goto_locus)
+ if (LOCATION_BLOCK (e->goto_locus) != NULL)
TREE_USED (LOCATION_BLOCK (e->goto_locus)) = true;
}