aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorTom Tromey2013-06-03 12:25:05 -0600
committerTom Tromey2013-06-03 12:25:05 -0600
commit68359abba96d7ec4db8aab3d3dd9cf1105c3bab5 (patch)
tree862703e7e1a1888170136a8296a5750d6b2ae2eb /src/bytecode.c
parentcbcba8ce7f980b01c18c0fd561ef6687b1361507 (diff)
parente2d8a6f0a229b4ebe26484b892ec4f14888f58b6 (diff)
downloademacs-68359abba96d7ec4db8aab3d3dd9cf1105c3bab5.tar.gz
emacs-68359abba96d7ec4db8aab3d3dd9cf1105c3bab5.zip
merge from trunk; clean up some issues
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