2017-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
commitfd4f3a942f5488f8c81f4147f7ba422267060f72
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 May 2017 21:51:07 +0000 (11 21:51 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 May 2017 21:51:07 +0000 (11 21:51 +0000)
treefa84a1609b174a307898b89d3439589e106fec7d
parentae439daba1d6b0ca232ba460c58de61c157fe2a5
2017-05-11  Michael Meissner  <meissner@linux.vnet.ibm.com>

* attribs.h (sorted_attr_string): Move machine independent
functions for target clone support from the i386 port to common
code.  Rename ix86_function_versions to common_function_versions.
Rename make_name to make_unique_name.
(common_function_versions): Likewise.
(make_unique_name): Likewise.
(make_dispatcher_decl): Likewise.
(is_function_default_version): Likewise.
* attribs.c (attr_strcmp): Likewise.
(sorted_attr_string): Likewise.
(common_function_versions): Likewise.
(make_unique_name): Likewise.
(make_dispatcher_decl): Likewise.
(is_function_default_version): Likewise.
* config/i386/i386.c (attr_strcmp): Likewise.
(sorted_attr_string): Likewise.
(ix86_function_versions): Likewise.
(make_name): Likewise.
(make_dispatcher_decl): Likewise.
(is_function_default_version): Likewise.
(TARGET_OPTION_FUNCTION_VERSIONS): Update target function hook.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247932 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/attribs.c
gcc/attribs.h
gcc/config/i386/i386.c