Fix for issue# 3651
authorRahul Kumar <rahku@microsoft.com>
Wed, 18 May 2016 02:26:06 +0000 (19:26 -0700)
committerRahul Kumar <rahku@microsoft.com>
Wed, 18 May 2016 02:27:03 +0000 (19:27 -0700)
tests/issues.targets
tests/src/baseservices/exceptions/regressions/Dev11/147911/fpcw.cpp

index b7301e0..e7bc6c3 100644 (file)
         <ExcludeList Include="$(XunitTestBinBase)\GC\LargeMemory\API\gc\collect\*">
              <Issue>3392</Issue>
         </ExcludeList>
-        <ExcludeList Include="$(XunitTestBinBase)\baseservices\exceptions\regressions\Dev11\147911\test147911\*">
-             <Issue>3651</Issue>
-        </ExcludeList>
         <ExcludeList Include="$(XunitTestBinBase)\JIT\SIMD\Vector3Interop_r\Vector3Interop_r.cmd">
              <Issue>4529</Issue>
         </ExcludeList>
index 2e22bf8..742bfce 100644 (file)
@@ -23,6 +23,8 @@ LONG WINAPI ExcepFilter(struct _EXCEPTION_POINTERS *pExp)
 
 
 // This is an example of an exported function.
+// Disable optimization otherwise compiler removes dividebyzero operation
+#pragma optimize( "", off )
 extern "C" FPCW_API int RaiseFPException(void)
 {
     unsigned int fpcw;