diff mbox

[FFmpeg-devel] Don't disable SSA Optimizer on MSVC v19.00.24218+.

Message ID 20170112000223.44736-1-kasper93@gmail.com
State Accepted
Commit 2064a3b8dfd80018bb01ea30d0d7dbc5d62ddc5c
Headers show

Commit Message

Kacper Michajłow Jan. 12, 2017, 12:02 a.m. UTC
---
 configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Michael Niedermayer Jan. 17, 2017, 3:28 p.m. UTC | #1
On Thu, Jan 12, 2017 at 01:02:23AM +0100, Kacper Michajłow wrote:
> ---
>  configure | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

applied

thx

[...]
diff mbox

Patch

diff --git a/configure b/configure
index 398e843..3bfd514 100755
--- a/configure
+++ b/configure
@@ -6317,9 +6317,9 @@  EOF
     check_func strtoll || add_cflags -Dstrtoll=_strtoi64
     check_func strtoull || add_cflags -Dstrtoull=_strtoui64
     # the new SSA optimzer in VS2015 U3 is mis-optimizing some parts of the code
-    # this flag should be re-checked on newer compiler releases and put under a
-    # version check once its fixed
-    check_cflags -d2SSAOptimizer-
+    # Issue has been fixed in MSVC v19.00.24218.
+    check_cpp_condition windows.h "_MSC_FULL_VER >= 190024218" ||
+        check_cflags -d2SSAOptimizer-
 fi
 
 for pfx in "" host_; do