This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/81824] Warn for missing attributes with function aliases
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Feb 2018 23:24:01 +0000
- Subject: [Bug c/81824] Warn for missing attributes with function aliases
- Auto-submitted: auto-generated
- References: <bug-81824-4@http.gcc.gnu.org/bugzilla/>
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.