diff options
author | Rahul Kumar <rahku@microsoft.com> | 2016-05-17 19:26:06 -0700 |
---|---|---|
committer | Rahul Kumar <rahku@microsoft.com> | 2016-05-17 19:27:03 -0700 |
commit | e8ad0d136fedc30ac31d2d38648ae81cda88af89 (patch) | |
tree | 57f3f3d4c1af89853b18f107e23fda2813a6bfc2 /tests/src/baseservices | |
parent | c396cf15da1ddbf1fd7dcf256357adac44829679 (diff) | |
download | coreclr-e8ad0d136fedc30ac31d2d38648ae81cda88af89.tar.gz coreclr-e8ad0d136fedc30ac31d2d38648ae81cda88af89.tar.bz2 coreclr-e8ad0d136fedc30ac31d2d38648ae81cda88af89.zip |
Fix for issue# 3651
Diffstat (limited to 'tests/src/baseservices')
-rw-r--r-- | tests/src/baseservices/exceptions/regressions/Dev11/147911/fpcw.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/baseservices/exceptions/regressions/Dev11/147911/fpcw.cpp b/tests/src/baseservices/exceptions/regressions/Dev11/147911/fpcw.cpp index 2e22bf8f4f..742bfce3bc 100644 --- a/tests/src/baseservices/exceptions/regressions/Dev11/147911/fpcw.cpp +++ b/tests/src/baseservices/exceptions/regressions/Dev11/147911/fpcw.cpp @@ -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; |