https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68637
--- Comment #5 from joseph at codesourcery dot com ---
Indeed, the parse appears to be correct (although there are various
existing cases where an attribute gets automatically moved to apply to a
type rather than to the original declaration to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68637
Bernd Schmidt changed:
What|Removed |Added
CC||bernds at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68637
--- Comment #3 from H.J. Lu ---
Run-time test:
[hjl@gnu-6 pr68637]$ cat x.i
extern void (*bar[]) (int, int) __attribute__ ((regparm (2)));
void
foo (void)
{
bar[0] (1, 2);
}
[hjl@gnu-6 pr68637]$ cat main.i
static void
__attribute__ ((regparm