2019-03-14 Richard Biener <rguenther@suse.de>
PR target/89711
* config/i386/i386.c (make_resolver_func): Properly set
DECL_CONTEXT on the RESULT_DECL.
* config/rs6000/rs6000.c (make_resolver_func): Likewise.
From-SVN: r269683
+2019-03-14 Richard Biener <rguenther@suse.de>
+
+ PR target/89711
+ * config/i386/i386.c (make_resolver_func): Properly set
+ DECL_CONTEXT on the RESULT_DECL.
+ * config/rs6000/rs6000.c (make_resolver_func): Likewise.
+
2019-03-14 Richard Biener <rguenther@suse.de>
* gimple-pretty-print.c: Include cfgloop.h.
}
/* Build result decl and add to function_decl. */
t = build_decl (UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE, ptr_type_node);
+ DECL_CONTEXT (t) = decl;
DECL_ARTIFICIAL (t) = 1;
DECL_IGNORED_P (t) = 1;
DECL_RESULT (decl) = t;
/* Build result decl and add to function_decl. */
tree t = build_decl (UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE, ptr_type_node);
+ DECL_CONTEXT (t) = decl;
DECL_ARTIFICIAL (t) = 1;
DECL_IGNORED_P (t) = 1;
DECL_RESULT (decl) = t;