From 55da34ebc20f2515c06e46612545f940eb2d0fb0 Mon Sep 17 00:00:00 2001 From: Michael Ploujnikov Date: Thu, 29 Nov 2018 14:09:50 +0000 Subject: [PATCH] There can be at most one .resolver clone per function 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. From-SVN: r266617 --- gcc/ChangeLog | 7 +++++++ gcc/config/rs6000/rs6000.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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);