We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9a7ce commit ec5544fCopy full SHA for ec5544f
lib/fizzy/stack.hpp
@@ -106,7 +106,10 @@ class OperandStack
106
}
107
108
m_bottom = m_locals + num_args + num_local_variables;
109
+#pragma GCC diagnostic push
110
+#pragma GCC diagnostic ignored "-Warray-bounds"
111
m_top = m_bottom - 1;
112
+#pragma GCC diagnostic pop
113
114
std::copy(std::begin(args), std::end(args), m_locals);
115
std::fill_n(m_locals + num_args, num_local_variables, 0);
0 commit comments