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

Unified Diff: patches/nspr-disable-optimization-2013.patch

Issue 27011005: Disable optimization in prdtoa.c under VS2013. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 2 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
« README.chromium ('K') | « nspr/pr/src/misc/prdtoa.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/nspr-disable-optimization-2013.patch
===================================================================
--- patches/nspr-disable-optimization-2013.patch (revision 0)
+++ patches/nspr-disable-optimization-2013.patch (revision 0)
@@ -0,0 +1,17 @@
+Index: nspr/pr/src/misc/prdtoa.c
+===================================================================
+--- nspr/pr/src/misc/prdtoa.c (revision 228201)
++++ nspr/pr/src/misc/prdtoa.c (working copy)
+@@ -13,6 +13,12 @@
+ #pragma GCC diagnostic ignored "-Wparentheses"
+ #endif
+
++#if _MSC_VER == 1800
++// TODO(scottmg): Crashes VS2013 RC. Upstream bug filed and should be fixed
++// in the next release. http://crbug.com/288948.
++#pragma optimize("", off)
++#endif
++
+ #include "primpl.h"
+ #include "prbit.h"
+
« README.chromium ('K') | « nspr/pr/src/misc/prdtoa.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698