diff options
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 73e500b..ac5d4bc 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -6120,7 +6120,8 @@ create_variable_info_for (tree decl, const char *name, bool add_id) cgraph_node *node; if (in_ipa_mode && TREE_CODE (decl) == FUNCTION_DECL - && (node = cgraph_node::get (decl))->ifunc_resolver) + && (node = cgraph_node::get (decl)) + && node->ifunc_resolver) { varinfo_t fi = get_vi_for_tree (node->get_alias_target ()->decl); constraint_expr rhs |