[FFmpeg-devel] [PATCH] configure: disable the new optimizer in Visual Studio 2015 Update 3

Nicolas George george at nsup.org
Tue Jun 28 11:40:44 CEST 2016


Le primidi 11 messidor, an CCXXIV, Hendrik Leppkes a écrit :
> 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 on VS2015 stations.

Can you put the exact FATE failure in the commit message or the comment?
This would help testing later releases?

> ---
>  configure | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/configure b/configure
> index 007c953..a1d46c3 100755
> --- a/configure
> +++ b/configure
> @@ -6203,6 +6203,9 @@ __declspec($_restrict) void* foo(int);
>  EOF
>      fi
>      check_func strtoll || add_cflags -Dstrtoll=_strtoi64

> +    # the new SSA optimzer in VS2015 U3 is still 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

Nit: rewrap to shorter lines.

> +    check_cflags -d2SSAOptimizer-
>  fi
>  
>  for pfx in "" host_; do
> -- 
> 2.7.2.windows.1
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160628/f8f2e140/attachment.sig>


More information about the ffmpeg-devel mailing list