https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82435
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-10-05 Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The warning can be selectively suppressed by declaring the alias to have no prototype, e.g., like so: int bar (int i) { return 0; } int foo () __attribute__ ((alias ("bar"))); In the latest revision of the patch (still under review), the warning is controlled by -Wincompatible-pointer-types rather than -Wattributes. Is this sufficient?