gcc42: Fix minor C99 parse bug
authorcem <cem@FreeBSD.org>
Fri, 27 May 2016 03:40:52 +0000 (03:40 +0000)
committercem <cem@FreeBSD.org>
Fri, 27 May 2016 03:40:52 +0000 (03:40 +0000)
commit57d60af1d0789be06f0d720c34cdd2cdc15bf1ed
treeb5a90f140a9f130f4c515243c8810aca11bfe586
parent3cd2786313ad24cac74961fd4b2bef46aac8b9ec
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
contrib/gcc/c-decl.c
gnu/usr.bin/cc/cc_tools/freebsd-native.h