DragonFly BSD
DragonFly commits List (threaded) for 2013-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Feb 2013 12:29:52 -0800 (PST)

commit d8c83a8624c57648e5ece23a94e26340832744d6
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]