diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b35b26f6561..33c307f65b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-11-29 Michael Ploujnikov + + 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 PR tree-optimization/88243 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index d986207a0c6..cf5d0cb236f 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -37282,7 +37282,7 @@ make_resolver_func (const tree default_decl, { /* 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);