2015-12-10 Richard Biener <rguenther@suse.de>
* tree-ssa-structalias.c (create_function_info_for): Add missing
constraint from nonlocal for DECL_RESULT.
From-SVN: r231496
+2015-12-10 Richard Biener <rguenther@suse.de>
+
+ * tree-ssa-structalias.c (create_function_info_for): Add missing
+ constraint from nonlocal for DECL_RESULT.
+
2015-12-10 Richard Biener <rguenther@suse.de>
* tree-if-conv.c: Include params.h.
if (DECL_RESULT (decl))
insert_vi_for_tree (DECL_RESULT (decl), resultvi);
+ if (nonlocal_p
+ && DECL_RESULT (decl)
+ && DECL_BY_REFERENCE (DECL_RESULT (decl)))
+ make_constraint_from (resultvi, nonlocal_id);
+
gcc_assert (prev_vi->offset < resultvi->offset);
prev_vi->next = resultvi->id;
prev_vi = resultvi;