[SCM] libav/experimental: Make gcc ignore the distinction between +0.0 and -0.0, this allows it to change x+0.0 to x. Though it alone does not allow gcc to remove x*0.0, that would also require -ffinite-math-only.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:15:51 UTC 2013


The following commit has been merged in the experimental branch:
commit b2eb2ff098b21a3f50d08688a437e55d8f089390
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Tue Feb 26 22:01:11 2008 +0000

    Make gcc ignore the distinction between +0.0 and -0.0, this allows it to
    change x+0.0 to x. Though it alone does not allow gcc to remove x*0.0,
    that would also require -ffinite-math-only.
    
    Originally committed as revision 12252 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index c38ab93..cbd5dac 100755
--- a/configure
+++ b/configure
@@ -1824,6 +1824,7 @@ elif enabled optimizations; then
     fi
 fi
 check_cflags -fno-math-errno
+check_cflags -fno-signed-zeros
 
 # PIC flags for shared library objects where they are needed
 if enabled shared; then

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list