git: libm: Exclude -Woverflow from -Werror in s_csqrtl.c for gcc47/i386.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Feb 5 12:29:52 PST 2013


commit d8c83a8624c57648e5ece23a94e26340832744d6
Author: Sascha Wildner <saw at online.de>
Date:   Sun Jan 20 03:15:59 2013 +0100

    libm: Exclude -Woverflow from -Werror in s_csqrtl.c for gcc47/i386.
    
    The issue is that a long double in gcc47 on i386 doesn't seem to be
    able to hold LDBL_MAX. At least a warning is generated. Cause
    unknown, might be a bug in gcc (or our gcc's configuration).
    
    gcc47 on FreeBSD/i386 does not show this behavior (no warning
    generated at least).
    
    Until we have a better clue, don't turn this warning into an error,
    even if -Werror is specified, so that building can go on.
    
    FreeBSD-testing: tuxillo

Summary of changes:
 lib/libm/complex/s_csqrtl.c | 7 +++++++
 1 file changed, 7 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d8c83a8624c57648e5ece23a94e26340832744d6


-- 
DragonFly BSD source repository


More information about the Commits mailing list