2012-07-10 Paul Eggert <eggert@cs.ucla.edu>
+ * bytecode.c (targets): Suppress -Woverride-init warnings.
+
Simplify by avoiding confusing use of strncpy etc.
* doc.c (Fsnarf_documentation):
* fileio.c (Ffile_name_directory, Fsubstitute_in_file_name):
the table clearer. */
#define LABEL(OP) [OP] = &&insn_ ## OP
+#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Woverride-init"
+#endif
+
/* This is the dispatch table for the threaded interpreter. */
static const void *const targets[256] =
{
BYTE_CODES
#undef DEFINE
};
+
+#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__
+# pragma GCC diagnostic pop
+#endif
+
#endif