8077590: windows_i586_6.2-product-c2-runThese8_Xcomp_vm failing after win compiler upgrade
Summary: Add /arch:IA32 flag to windows ia32 builds to force x87 codepath
Reviewed-by: kvn, dholmes
--- a/hotspot/make/windows/makefiles/compile.make Tue Apr 28 14:45:57 2015 -0700
+++ b/hotspot/make/windows/makefiles/compile.make Tue Apr 28 14:46:19 2015 -0700
@@ -74,7 +74,8 @@
!if "$(BUILDARCH)" == "i486"
MACHINE=I386
-CXX_FLAGS=$(CXX_FLAGS) /D "IA32"
+# VS2013 generates bad l2f without /arch:IA32
+CXX_FLAGS=$(CXX_FLAGS) /D "IA32" /arch:IA32
!endif
CXX_FLAGS=$(CXX_FLAGS) /D "WIN32" /D "_WINDOWS"