Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-06-28 12:48:29 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-07-04 00:37:44 +0300
commit1ad4471526c70d073b19bd551dc4193457d1e610 (patch)
tree0a9cd1af0abdc4ddada609a1f9d07c2b6868d0db /configure
parent293484fa5e444bf0437d010f8e9808555102eb90 (diff)
configure: disable the new optimizer in Visual Studio 2015 Update 3
Visual Studio 2015 Update 3 introduced a new SSA optimizer, however it unfortunately causes miscompilations. Until it is fixed, the new optimizations are disabled and should be re-checked on subsequent compiler releases. Fixes recent FATE failure of fate-lavf-pam on VS2015.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 22298df88c..126d0d6334 100755
--- a/configure
+++ b/configure
@@ -6207,6 +6207,10 @@ __declspec($_restrict) void* foo(int);
EOF
fi
check_func strtoll || add_cflags -Dstrtoll=_strtoi64
+ # 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-
fi
for pfx in "" host_; do