summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorcem <cem@FreeBSD.org>2016-05-27 03:40:52 +0000
committercem <cem@FreeBSD.org>2016-05-27 03:40:52 +0000
commit57d60af1d0789be06f0d720c34cdd2cdc15bf1ed (patch)
treeb5a90f140a9f130f4c515243c8810aca11bfe586 /gnu
parent3cd2786313ad24cac74961fd4b2bef46aac8b9ec (diff)
downloadFreeBSD-src-57d60af1d0789be06f0d720c34cdd2cdc15bf1ed.zip
FreeBSD-src-57d60af1d0789be06f0d720c34cdd2cdc15bf1ed.tar.gz
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_tools/freebsd-native.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
index 9bf790f..bd3ce1e 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -8,7 +8,7 @@
/* Fake out gcc/config/freebsd<version>.h. */
#define FBSD_MAJOR 11
-#define FBSD_CC_VER 1100001 /* form like __FreeBSD_version */
+#define FBSD_CC_VER 1100002 /* form like __FreeBSD_version */
#undef SYSTEM_INCLUDE_DIR /* We don't need one for now. */
#undef TOOL_INCLUDE_DIR /* We don't need one for now. */
OpenPOWER on IntegriCloud