https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #7 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- On Thu, 8 Feb 2018, msebor at gcc dot gnu.org wrote: > Okay, that would make sense. But then what do you mean by "weak, alias, > visibility attributes are expected to differ between different names and > shouldn't be diagnosed." Weak is a property of a symbol, not of a function - it's correct for a function to have both strong and weak names.