On 1/26/20 6:35 PM, Jeff Law wrote:
On Tue, 2020-01-21 at 13:48 +0100, Martin Liška wrote:
From a3faaced989869867671ceadd89b56fabde225ff Mon Sep 17 00:00:00 2001
From: Martin Liska <mli...@suse.cz>
Date: Thu, 16 Jan 2020 10:38:41 +0100
Subject: [PATCH] Make target_clones resolver fn static.
gcc/ChangeLog:
2020-01-17 Martin Liska <mli...@suse.cz>
PR target/93274
* config/i386/i386-features.c (make_resolver_func):
Align the code with ppc64 target implementaion.
We do not need to have gnu_indirect_function
as a global function. Drop TREE_PUBLIC on
ifunc symbol.
* config/rs6000/rs6000.c (make_resolver_func): Drop
TREE_PUBLIC on ifunc symbol.
gcc/testsuite/ChangeLog:
2020-01-17 Martin Liska <mli...@suse.cz>
PR target/93274
* gcc.target/i386/pr81213.c: Adjust to not expect
a global unique name.
* gcc.target/i386/pr81213-2.c: New test.
Not strictly a regression, but given the codegen impact, I think this
should go in. OK
Thanks for the approval, but I'm going to install only the first part and leave
the second part for GCC 11.
Martin
jeff