[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2018-02-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-10-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 --- Comment #7 from Martin Sebor --- (In reply to Bernd Edlinger from comment #6) Sounds reasonable. I put the following example together to illustrate an incompatible alias declaration that should be diagnosed but isn't. char* f (void)

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-10-11 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 --- Comment #6 from Bernd Edlinger --- I wonder why this condition on the warning is symmetrical: (!FUNC_OR_METHOD_TYPE_P (t2) || (prototype_p (t1) && prototype_p (t2) && !types_compatible_p (t1, t2 I mean if you

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-10-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 Martin Sebor changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de ---

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-09-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 Eric Gallager changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-09-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-09-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 --- Comment #3 from Martin Sebor --- Martin, if you have free cycles please go ahead. I think other attributes might suffer from the same problem (alias and weakref). It doesn't look to me like it can be reliably detected in the attribute

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-09-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 Eric Gallager changed: What|Removed |Added Keywords||diagnostic