diff options
author | Martin Liska <mliska@suse.cz> | 2020-03-25 11:03:39 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-03-25 11:03:39 +0100 |
commit | 724ec02c2c6d1b79788be77f68ebb6ca7b5b6acd (patch) | |
tree | 9f339a0ee3d2abe45c3ba1eaed8881c2b6d4a1e1 /gcc/multiple_target.c | |
parent | 0fb0240a051df91d3c24385d1d3c17548b266544 (diff) | |
download | gcc-724ec02c2c6d1b79788be77f68ebb6ca7b5b6acd.zip gcc-724ec02c2c6d1b79788be77f68ebb6ca7b5b6acd.tar.gz gcc-724ec02c2c6d1b79788be77f68ebb6ca7b5b6acd.tar.bz2 |
Make target_clones resolver fn static if possible.
PR target/93274
PR ipa/94271
* config/i386/i386-features.c (make_resolver_func): Drop
public flag for resolver.
* config/rs6000/rs6000.c (make_resolver_func): Add comdat
group for resolver and drop public flag if possible.
* multiple_target.c (create_dispatcher_calls): Drop unique_name
and resolution as we want to enable LTO privatization of the default
symbol.
PR target/93274
PR ipa/94271
* gcc.target/i386/pr81213-2.c: New test.
* gcc.target/i386/pr81213.c: Add additional source.
* gcc.dg/lto/pr94271_0.c: New test.
* gcc.dg/lto/pr94271_1.c: New test.
Diffstat (limited to 'gcc/multiple_target.c')
-rw-r--r-- | gcc/multiple_target.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/multiple_target.c b/gcc/multiple_target.c index cccfd27..c1cfe8f 100644 --- a/gcc/multiple_target.c +++ b/gcc/multiple_target.c @@ -178,10 +178,6 @@ create_dispatcher_calls (struct cgraph_node *node) node->externally_visible = false; node->forced_by_abi = false; node->set_section (NULL); - node->unique_name = ((node->resolution == LDPR_PREVAILING_DEF_IRONLY - || node->resolution == LDPR_PREVAILING_DEF_IRONLY_EXP) - && !flag_incremental_link); - node->resolution = LDPR_PREVAILING_DEF_IRONLY; DECL_ARTIFICIAL (node->decl) = 1; node->force_output = true; |