[gcc(refs/users/marxin/heads/PR94271-target-clones-static)] Test a patch candidate.
Martin Liska
marxin@gcc.gnu.org
Mon Mar 23 10:54:28 GMT 2020
https://gcc.gnu.org/g:2e1bae65e6731e6a13782664c76004c4d6120767
commit 2e1bae65e6731e6a13782664c76004c4d6120767
Author: Martin Liska <mliska@suse.cz>
Date: Mon Mar 23 11:54:04 2020 +0100
Test a patch candidate.
Diff:
---
gcc/config/i386/i386-features.c | 3 +++
gcc/multiple_target.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/gcc/config/i386/i386-features.c b/gcc/config/i386/i386-features.c
index 6528832487e..3c70279dc7c 100644
--- a/gcc/config/i386/i386-features.c
+++ b/gcc/config/i386/i386-features.c
@@ -2777,6 +2777,9 @@ make_resolver_func (const tree default_decl,
DECL_COMDAT (decl) = 1;
make_decl_one_only (decl, DECL_ASSEMBLER_NAME (decl));
}
+ else
+ TREE_PUBLIC (ifunc_alias_decl) = 0;
+
/* Build result decl and add to function_decl. */
t = build_decl (UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE, ptr_type_node);
DECL_CONTEXT (t) = decl;
diff --git a/gcc/multiple_target.c b/gcc/multiple_target.c
index cccfd2774db..0e57f552a10 100644
--- a/gcc/multiple_target.c
+++ b/gcc/multiple_target.c
@@ -178,10 +178,12 @@ 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;
More information about the Gcc-cvs
mailing list