diff options
Diffstat (limited to 'base/third_party')
-rw-r--r-- | base/third_party/dmg_fp/README.chromium | 2 | ||||
-rw-r--r-- | base/third_party/dmg_fp/dtoa.cc | 6 | ||||
-rw-r--r-- | base/third_party/dmg_fp/vs2013-optimization.patch | 18 |
3 files changed, 25 insertions, 1 deletions
diff --git a/base/third_party/dmg_fp/README.chromium b/base/third_party/dmg_fp/README.chromium index 10db408..33ab78b 100644 --- a/base/third_party/dmg_fp/README.chromium +++ b/base/third_party/dmg_fp/README.chromium @@ -19,4 +19,4 @@ List of changes made to original code: float_precision_crash.patch and crbug.com/123157 - Fix for 'warning C4703: potentially uninitialized local pointer variable' in VS2012. - + - Disable optimization on VS2013 pending fix of compiler optimization bug. diff --git a/base/third_party/dmg_fp/dtoa.cc b/base/third_party/dmg_fp/dtoa.cc index 4eb9f0e..b03ccff 100644 --- a/base/third_party/dmg_fp/dtoa.cc +++ b/base/third_party/dmg_fp/dtoa.cc @@ -179,6 +179,12 @@ * used for input more than STRTOD_DIGLIM digits long (default 40). */ +#if defined _MSC_VER && _MSC_VER == 1800 +// TODO(scottmg): VS2013 RC ICEs on a bunch of functions in this file. +// This should be removed after RTM. See http://crbug.com/288948. +#pragma optimize("", off) +#endif + #define IEEE_8087 #define NO_HEX_FP diff --git a/base/third_party/dmg_fp/vs2013-optimization.patch b/base/third_party/dmg_fp/vs2013-optimization.patch new file mode 100644 index 0000000..d91b370 --- /dev/null +++ b/base/third_party/dmg_fp/vs2013-optimization.patch @@ -0,0 +1,18 @@ +Index: base/third_party/dmg_fp/dtoa.cc +diff --git a/base/third_party/dmg_fp/dtoa.cc b/base/third_party/dmg_fp/dtoa.cc +index 4eb9f0efd94221b3ab95f84554bbc92f112bf973..b03ccff569f9403eb67a95737b0e19740e56ef33 100644 +--- a/base/third_party/dmg_fp/dtoa.cc ++++ b/base/third_party/dmg_fp/dtoa.cc +@@ -179,6 +179,12 @@ + * used for input more than STRTOD_DIGLIM digits long (default 40). + */ + ++#if defined _MSC_VER && _MSC_VER == 1800 ++// TODO(scottmg): VS2013 RC ICEs on a bunch of functions in this file. ++// This should be removed after RTM. See http://crbug.com/288948. ++#pragma optimize("", off) ++#endif ++ + #define IEEE_8087 + #define NO_HEX_FP + |