aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2016-05-27 03:40:52 +0000
committerConrad Meyer <cem@FreeBSD.org>2016-05-27 03:40:52 +0000
commit2844d30cc50e8788f218bb179a970888710c686f (patch)
treeb5a90f140a9f130f4c515243c8810aca11bfe586 /gnu/usr.bin
parentb38b13d889232acc97e45fd4708deb16c912284d (diff)
downloadsrc-2844d30cc50e8788f218bb179a970888710c686f.tar.gz
src-2844d30cc50e8788f218bb179a970888710c686f.zip
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
Notes
Notes: svn path=/head/; revision=300822
Diffstat (limited to 'gnu/usr.bin')
-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 9bf790ffb6ac..bd3ce1e9e4a1 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. */