]> sourceware.org Git - glibc.git/commitdiff
Don't use -Wno-uninitialized in math/.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 20 Aug 2015 18:00:09 +0000 (18:00 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 20 Aug 2015 18:00:09 +0000 (18:00 +0000)
The uninitialized variable warnings in math/ having been fixed for all
the supported floating-point formats, this patch removes the use of
-Wno-uninitialized there, continuing with the goal of avoiding -Wno-
options in makefiles as far as possible..

Tested for x86_64 and x86 (full build and testsuite runs), and for
powerpc and mips64 (verified that glibc builds without errors).

* math/Makefile (CFLAGS): Don't add -Wno-uninitialized.

ChangeLog
math/Makefile

index 93d556311e3a2a4737dcfde4bfb31300aac7bb66..73f16c452884317dd767f11329839569c4c8cfce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
 
+       * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
+
        * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
        variables for high and low parts before possibly modifying them.
 
index d3b483d8a9a2751a074904c06363569c13eb871d..c98c3c4d94ef6d006a25212e205e547287baf31d 100644 (file)
@@ -249,9 +249,6 @@ ifneq ($(long-double-fcts),yes)
 math-CPPFLAGS += -DNO_LONG_DOUBLE -D_Mlong_double_=double
 endif
 
-# The fdlibm code generates a lot of these warnings but is otherwise clean.
-override CFLAGS += -Wno-uninitialized
-
 # The -lieee library is actually an object file.
 # The module just defines the _LIB_VERSION_ variable.
 # It's not a library to make sure it is linked in instead of s_lib_version.o.
This page took 0.093977 seconds and 5 git commands to generate.