attribs.h (sorted_attr_string): Move machine independent functions for target clone...
commit1b062c1ac195e221ff72e03b37d630a4fa1f6dbe
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Thu, 11 May 2017 21:51:07 +0000 (11 21:51 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Thu, 11 May 2017 21:51:07 +0000 (11 21:51 +0000)
treefa84a1609b174a307898b89d3439589e106fec7d
parent3619ab8bd4ed2ceaeb202ccaa59341c863679725
attribs.h (sorted_attr_string): Move machine independent functions for target clone support from the i386 port...

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.

From-SVN: r247932
gcc/ChangeLog
gcc/attribs.c
gcc/attribs.h
gcc/config/i386/i386.c