https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81238
Bug ID: 81238 Summary: Target clone support does not make default clone static. Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- The default target clone created in the create_dispatcher_calls function in the multiple_target.c file has the TREE_PUBLIC bit if the target_clone function was public. This function does not need to be public, since the only reference will be in the ifunc resolver.