https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68637
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-12-01 Summary|Wrong -Wattributes on array |[6 Regression] Wrong |of function pointers |-Wattributes on array of | |function pointers Ever confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- GCC 5 doesn't warn typedef void (*func) (int, int) __attribute__ ((regparm (2))); and GCC 6 does.