https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88372
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> --- Fixed for GCC 9 in r267158. A warning when a function without the attribute is assigned to a pointer with it should also be implemented to help detect bugs that this might lead to.