Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1058)

Unified Diff: test/cctest/test-code-stubs.cc

Issue 422063005: Contribution of PowerPC port. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: re-upload - catch up to 8/19 level Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698