aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple-expr.c')
-rw-r--r--gcc/gimple-expr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/gimple-expr.c b/gcc/gimple-expr.c
index da663d6..73285b2 100644
--- a/gcc/gimple-expr.c
+++ b/gcc/gimple-expr.c
@@ -883,10 +883,9 @@ mark_addressable (tree x)
&& cfun->gimple_df != NULL
&& cfun->gimple_df->decls_to_pointers != NULL)
{
- void *namep
- = pointer_map_contains (cfun->gimple_df->decls_to_pointers, x);
+ tree *namep = cfun->gimple_df->decls_to_pointers->get (x);
if (namep)
- TREE_ADDRESSABLE (*(tree *)namep) = 1;
+ TREE_ADDRESSABLE (*namep) = 1;
}
}