https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #18 from Alexandre Oliva ---
Author: aoliva
Date: Thu Jul 18 00:38:45 2019
New Revision: 273563
URL: https://gcc.gnu.org/viewcvs?rev=273563&root=gcc&view=rev
Log:
-Wmissing-attributes: check that we avoid duplicates and false positiv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #17 from Martin Sebor ---
Making -Wattribute-alias a synonym for -Wattribute-alias=1 makes sense. I'll
take care of it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
Khem Raj changed:
What|Removed |Added
CC||raj.khem at gmail dot com
--- Comment #16 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #15 from Martin Sebor ---
Author: msebor
Date: Tue Nov 13 19:57:51 2018
New Revision: 266084
URL: https://gcc.gnu.org/viewcvs?rev=266084&root=gcc&view=rev
Log:
PR middle-end/81824 - Warn for missing attributes with function aliases
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #13 from Martin Sebor ---
Author: msebor
Date: Mon Nov 12 18:02:41 2018
New Revision: 266034
URL: https://gcc.gnu.org/viewcvs?rev=266034&root=gcc&view=rev
Log:
PR c/81824 - Warn for missing attributes with function aliases
gcc/tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #14 from Martin Sebor ---
Thanks. The test needed dg-require-ifunc.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
Christophe Lyon changed:
What|Removed |Added
CC||clyon at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #10 from Martin Sebor ---
Author: msebor
Date: Fri Nov 9 17:32:52 2018
New Revision: 265980
URL: https://gcc.gnu.org/viewcvs?rev=265980&root=gcc&view=rev
Log:
PR middle-end/81824 - Warn for missing attributes with function aliases
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
Martin Sebor changed:
What|Removed |Added
Keywords||patch
Assignee|unassigned at gc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #8 from Martin Sebor ---
I see. I think you are specifically talking about the case when the three
attributes are used together, as in:
void __attribute__ ((weak, alias ("__foo"), visibility ("..."))) foo ();
void __foo () { ..
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #7 from 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 differe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #6 from Martin Sebor ---
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."
The example in comment #0 shows a pot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #5 from joseph at codesourcery dot com ---
In the case most likely to appear in glibc, foo would be declared with the
nothrow attribute and __foo would be missing it. I see no reason not to
diagnose the other case as well, I just t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
--- Comment #4 from Martin Sebor ---
(In reply to Joseph S. Myers from comment #0)
> Note: this warning is only for attributes relating to the function itself,
> not to those relating to a particular name for the function. For example,
> weak, a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #3 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
Martin Sebor changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRMED
18 matches
Mail list logo