[Bug c/68637] [6 Regression] Wrong -Wattributes on array of function pointers
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 1 16:35:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list