HomeFreeBSD

gcc42: Fix minor C99 parse bug

Description

gcc42: Fix minor C99 parse bug

DR #289[0] came down and gcc4.2.1 was on the wrong side of history.
Partially revert GCC r42574 (just remove the error) to rectify the parse
bug to match Clang and other compliant C99 compilers.

An example declaration gcc tripped on before this fix:

void foobar(int [static 1]);

An example declaration gcc did not trip on before this fix:

void foobar(int name[static 1]);

Bump __FreeBSD_cc_version.

[0]: http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_289.htm

Reported by: allanjude
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
cemAuthored on May 27 2016, 3:40 AM
Parents
rGb38b13d88923: Add rtwn(4) and rtwnfw(4).
Branches
Unknown
Tags
Unknown

Event Timeline