https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90500
--- Comment #18 from Martin Liška <mliska at suse dot cz> --- On 5/20/19 11:58 PM, joseph at codesourcery dot com wrote: > 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. > Works for me, I'm going to prepare a patch that will address that. Thank you, Martin