Index: test/cctest/test-code-stubs.cc |
diff --git a/test/cctest/test-code-stubs.cc b/test/cctest/test-code-stubs.cc |
index 0784aac78e9c815716591f17717cddcefe08c98b..c0882c883b3e3a75c0b94650fcc67686f1c0b18a 100644 |
--- a/test/cctest/test-code-stubs.cc |
+++ b/test/cctest/test-code-stubs.cc |
@@ -41,6 +41,9 @@ |
using namespace v8::internal; |
+// IA32 builds fail on GCC 4.4.6 due to a warning in this function |
+// Use a pragma to disable the checking for this function |
+#pragma GCC diagnostic ignored "-Wstrict-aliasing" |
int STDCALL ConvertDToICVersion(double d) { |
union { double d; uint32_t u[2]; } dbl; |
dbl.d = d; |