2018-11-29 Michael Ploujnikov <michael.ploujnikov@oracle.com>
There can be at most one .resolver clone per function
* config/rs6000/rs6000.c (make_resolver_func): Generate
resolver symbol with clone_function_name instead of
clone_function_name_numbered.
From-SVN: r266617
+2018-11-29 Michael Ploujnikov <michael.ploujnikov@oracle.com>
+
+ There can be at most one .resolver clone per function
+ * config/rs6000/rs6000.c (make_resolver_func): Generate
+ resolver symbol with clone_function_name instead of
+ clone_function_name_numbered.
+
2018-11-29 Richard Biener <rguenther@suse.de>
PR tree-optimization/88243
{
/* Make the resolver function static. The resolver function returns
void *. */
- tree decl_name = clone_function_name_numbered (default_decl, "resolver");
+ tree decl_name = clone_function_name (default_decl, "resolver");
const char *resolver_name = IDENTIFIER_POINTER (decl_name);
tree type = build_function_type_list (ptr_type_node, NULL_TREE);
tree decl = build_fn_decl (resolver_name, type);