summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/decl.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/filter/decl.m4 b/filter/decl.m4
index 9bd9a140..aa4ab576 100644
--- a/filter/decl.m4
+++ b/filter/decl.m4
@@ -365,6 +365,12 @@ m4_changequote([[,]])
FID_WR_DIRECT(I)
FID_WR_PUT(3)
FID_WR_DIRECT(C)
+
+#if defined(__GNUC__) && __GNUC__ >= 6
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wmisleading-indentation"
+#endif
+
#include "nest/bird.h"
#include "filter/filter.h"
#include "filter/f-inst.h"
@@ -496,6 +502,9 @@ FID_WR_PUT(9)
return 1;
}
+#if defined(__GNUC__) && __GNUC__ >= 6
+#pragma GCC diagnostic pop
+#endif
FID_WR_DIRECT(H)
/* Filter instruction codes */