rs6000.c (rs6000_get_function_versions_dispatcher): Add warning if GCC was not config...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Fri, 7 Jul 2017 18:43:55 +0000 (18:43 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 7 Jul 2017 18:43:55 +0000 (18:43 +0000)
commit57f49e990f52ebdd3cb4a5be4e87a2301fed1a1a
tree0571c2b8c4e497a91406f655fe819736cfbbe596
parent6a69355ccf7c05c452ff1bea1fac1508d44bec5c
rs6000.c (rs6000_get_function_versions_dispatcher): Add warning if GCC was not configured to link against a GLIBC that exports the...

[gcc]
2017-07-07  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_get_function_versions_dispatcher):
Add warning if GCC was not configured to link against a GLIBC that
exports the hardware capability bits.
(make_resolver_func): Make resolver function private and not a
COMDAT function.  Create the name with clone_function_name instead
of make_unique_name.

[gcc/testsuite]
2017-07-07  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/clone1.c: Add check to make sure the
__builtin_cpu_supports function is fully supported.
* gcc.target/powerpc/clone2.c: New runtime test for
target_clones.

From-SVN: r250055
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/clone1.c
gcc/testsuite/gcc.target/powerpc/clone2.c [new file with mode: 0644]