https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90500
--- Comment #17 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- The copy attribute is intended to copy attributes that are properties of the function itself (e.g. "pure"), but not those that are properties of a particular symbol for the function (e.g. "visibility"). If target_clones does not make sense to copy, probably it should be excluded by the copy attribute.