aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 45fe5d49154..9e5f4d1434f 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -657,9 +657,12 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
657 the table clearer. */ 657 the table clearer. */
658#define LABEL(OP) [OP] = &&insn_ ## OP 658#define LABEL(OP) [OP] = &&insn_ ## OP
659 659
660#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ 660#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
661# pragma GCC diagnostic push 661# pragma GCC diagnostic push
662# pragma GCC diagnostic ignored "-Woverride-init" 662# pragma GCC diagnostic ignored "-Woverride-init"
663#elif defined __clang__
664# pragma GCC diagnostic push
665# pragma GCC diagnostic ignored "-Winitializer-overrides"
663#endif 666#endif
664 667
665 /* This is the dispatch table for the threaded interpreter. */ 668 /* This is the dispatch table for the threaded interpreter. */
@@ -673,7 +676,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
673#undef DEFINE 676#undef DEFINE
674 }; 677 };
675 678
676#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ 679#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) || defined __clang__
677# pragma GCC diagnostic pop 680# pragma GCC diagnostic pop
678#endif 681#endif
679 682