[Bug c/81824] Warn for missing attributes with function aliases

2019-07-17 Thread aoliva at gcc dot gnu.org
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

[Bug c/81824] Warn for missing attributes with function aliases

2018-12-21 Thread msebor at gcc dot gnu.org
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.

[Bug c/81824] Warn for missing attributes with function aliases

2018-12-21 Thread raj.khem at gmail dot com
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

[Bug c/81824] Warn for missing attributes with function aliases

2018-11-13 Thread msebor at gcc dot gnu.org
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

[Bug c/81824] Warn for missing attributes with function aliases

2018-11-12 Thread msebor at gcc dot gnu.org
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

[Bug c/81824] Warn for missing attributes with function aliases

2018-11-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824 --- Comment #14 from Martin Sebor --- Thanks. The test needed dg-require-ifunc.

[Bug c/81824] Warn for missing attributes with function aliases

2018-11-12 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug c/81824] Warn for missing attributes with function aliases

2018-11-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/81824] Warn for missing attributes with function aliases

2018-11-09 Thread msebor at gcc dot gnu.org
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

[Bug c/81824] Warn for missing attributes with function aliases

2018-10-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824 Martin Sebor changed: What|Removed |Added Keywords||patch Assignee|unassigned at gc

[Bug c/81824] Warn for missing attributes with function aliases

2018-02-08 Thread msebor at gcc dot gnu.org
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 () { ..

[Bug c/81824] Warn for missing attributes with function aliases

2018-02-08 Thread joseph at codesourcery dot com
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

[Bug c/81824] Warn for missing attributes with function aliases

2018-02-08 Thread msebor at gcc dot gnu.org
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

[Bug c/81824] Warn for missing attributes with function aliases

2018-02-08 Thread joseph at codesourcery dot com
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

[Bug c/81824] Warn for missing attributes with function aliases

2018-02-08 Thread msebor at gcc dot gnu.org
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

[Bug c/81824] Warn for missing attributes with function aliases

2018-02-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Martin Sebor

[Bug c/81824] Warn for missing attributes with function aliases

2017-08-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/81824] Warn for missing attributes with function aliases

2017-08-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED