This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/68637] [6 Regression] Wrong -Wattributes on array of function pointers
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Dec 2015 16:35:16 +0000
- Subject: [Bug c/68637] [6 Regression] Wrong -Wattributes on array of function pointers
- Auto-submitted: auto-generated
- References: <bug-68637-4 at http dot gcc dot gnu dot org/bugzilla/>
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.