https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37874
Eric Gallager changed:
What|Removed |Added
Keywords||accepts-invalid
--- Comment #6 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37874
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
---
--
jsm28 at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last
--- Comment #4 from joseph at codesourcery dot com 2008-10-20 12:48 ---
Subject: Re: gcc sometimes accepts attribute in identifier list
On Mon, 20 Oct 2008, sabre at nondot dot org wrote:
as it turns out, f3 could also be considered valid in c89... because it makes
x
and y be
--- Comment #1 from sabre at nondot dot org 2008-10-20 01:08 ---
It also accepts this:
void f4(__attribute__(()));
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37874
--- Comment #2 from joseph at codesourcery dot com 2008-10-20 01:51 ---
Subject: Re: gcc sometimes accepts attribute in identifier list
On Mon, 20 Oct 2008, sabre at nondot dot org wrote:
It also accepts this:
void f4(__attribute__(()));
This is documented in Attribute Syntax.
--- Comment #3 from sabre at nondot dot org 2008-10-20 02:10 ---
as it turns out, f3 could also be considered valid in c89... because it makes x
and y be implicit int's, not an identifier list.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37874