glibc/stdlib
Joseph Myers f1d237df1e Remove GCC version conditionals on -Wmaybe-uninitialized pragmas.
One common case of __GNUC_PREREQ (4, 7) conditionals is use of
diagnostic control pragmas for -Wmaybe-uninitialized, an option
introduced in GCC 4.7 where older GCC needed -Wuninitialized to be
controlled instead if the warning appeared with older GCC.  This patch
removes such conditionals.

(There remain several older uses of -Wno-uninitialized in makefiles
that still need to be converted to diagnostic control pragmas if the
issue is still present with current sources and supported GCC
versions, and it's likely that in most cases those pragmas also will
end up controlling -Wmaybe-uninitialized.)

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch, except for libresolv
since res_send.c contains assertions whose line numbers are changed by
the patch).

	* resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
	unconditional.
	* soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
	[!__GNUC_PREREQ (4, 7)]: Remove conditional code.
	* soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
	unconditional.
	[!__GNUC_PREREQ (4, 7)]: Remove conditional code.
	* soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
	unconditional.
	[!__GNUC_PREREQ (4, 7)]: Remove conditional code.
	* stdlib/setenv.c
	[((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
	code unconditional.
	[!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
	Remove conditional code.
	* sysdeps/ieee754/dbl-64/e_lgamma_r.c
	(__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
	unconditional.
	(__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
	code.
	* sysdeps/ieee754/flt-32/e_lgammaf_r.c
	(__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
	unconditional.
	(__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
	code.
	* sysdeps/ieee754/ldbl-128/k_tanl.c
	(__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
	(__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
	* sysdeps/ieee754/ldbl-128ibm/k_tanl.c
	(__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
	(__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
	* sysdeps/ieee754/ldbl-96/e_lgammal_r.c
	(__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
	unconditional.
	(__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
	code.
	* sysdeps/ieee754/ldbl-96/k_tanl.c
	(__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
	(__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2015-10-27 23:42:20 +00:00
..
bits
sys
a64l.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
abort.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
abs.c
add_n.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
addmul_1.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
alloca.h
at_quick_exit.c
atexit.c
atof.c
atoi.c
atol.c
atoll.c
bsearch.c
bug-fmtmsg1.c
bug-getcontext.c
bug-strtod2.c
bug-strtod.c
canonicalize.c
cmp.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
cxa_at_quick_exit.c
cxa_atexit.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
cxa_finalize.c
cxa_thread_atexit_impl.c Harden tls_dtor_list with pointer mangling [BZ #19018] 2015-10-06 13:22:56 +02:00
dbl2mpn.c
Depend
div.c Convert 29 more function definitions to prototype style (multiple parameters in one K&R parameter declaration). 2015-10-20 11:52:27 +00:00
divmod_1.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
divrem.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
drand48_r.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
drand48-iter.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
drand48.c
erand48_r.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
erand48.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
errno.h
exit.c
exit.h
fmtmsg.c Use __pthread_setcancelstate in libc.a 2015-09-17 16:38:54 -07:00
fmtmsg.h
fpioconst.c
fpioconst.h
gen-fpioconst.c
gen-tst-strtod-round.c
getcontext.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
getenv.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
getsubopt.c
gmp-impl.h
gmp.h
grouping.c
grouping.h
groupingwc.c
inlines.c
isomac.c fix missing ctype.h include 2015-08-06 02:59:52 -04:00
jrand48_r.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
jrand48.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
l64a.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
labs.c
lcong48_r.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
lcong48.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
ldbl2mpn.c
ldiv.c
llabs.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
lldiv.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
longlong.h
lrand48_r.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
lrand48.c
lshift.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
makecontext.c
Makefile Add dependencies on needed locales in each subdir tests (bug 18969) 2015-10-12 15:18:08 +02:00
mblen.c
mbstowcs.c
mbtowc.c
mod_1.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
monetary.h
mp_clz_tab.c
mpn2dbl.c
mpn2flt.c
mpn2ldbl.c
mrand48_r.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
mrand48.c
msort.c
mul_1.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
mul_n.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
mul.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
nrand48_r.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
nrand48.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
old_atexit.c
on_exit.c
putenv.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
qsort.c
quick_exit.c
rand_r.c
rand.c
random_r.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
random.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
rpmatch.c
rshift.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
secure-getenv.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
seed48_r.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
seed48.c Convert 24 more function definitions to prototype style (array parameters). 2015-10-20 11:51:03 +00:00
setcontext.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
setenv.c Remove GCC version conditionals on -Wmaybe-uninitialized pragmas. 2015-10-27 23:42:20 +00:00
srand48_r.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
srand48.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
stdlib.h
strfmon_l.c
strfmon.c
strtod_l.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
strtod.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
strtof_l.c
strtof.c
strtoimax.c
strtol_l.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
strtol.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
strtold_l.c
strtold.c
strtoll_l.c
strtoll.c
strtoul_l.c
strtoul.c
strtoull_l.c
strtoull.c
strtoumax.c
sub_n.c Convert miscellaneous function definitions to prototype style. 2015-10-20 21:27:22 +00:00
submul_1.c Convert 69 more function definitions to prototype style (line wrap cases). 2015-10-19 21:23:47 +00:00
swapcontext.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
system.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
tens_in_limb.c
test-a64l.c
test-canon2.c
test-canon.c
testdiv.c
testdiv.input
testmb2.c
testmb.c
testrand.c
testsort.c
tst-atof1.c
tst-atof2.c
tst-bsearch.c
tst-environ.c
tst-fmtmsg.c
tst-fmtmsg.sh
tst-limits.c
tst-makecontext2.c
tst-makecontext3.c
tst-makecontext.c
tst-putenv.c
tst-putenvmod.c
tst-qsort2.c
tst-qsort.c
tst-rand48-2.c
tst-rand48.c
tst-random2.c
tst-random.c
tst-secure-getenv.c
tst-setcontext2.c
tst-setcontext3.c
tst-setcontext3.sh
tst-setcontext.c
tst-strtod2.c
tst-strtod3.c
tst-strtod4.c
tst-strtod5.c
tst-strtod6.c
tst-strtod-overflow.c
tst-strtod-round-data
tst-strtod-round.c
tst-strtod-underflow.c
tst-strtod.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
tst-strtol.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
tst-strtoll.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
tst-system.c
tst-tininess.c
tst-tls-atexit-lib.c Remove Linuxism from tst-tls-atexit 2015-07-21 07:14:17 +05:30
tst-tls-atexit-nodelete.c Also use l_tls_dtor_count to decide on object unload (BZ #18657) 2015-07-23 11:16:18 +05:30
tst-tls-atexit.c Also use l_tls_dtor_count to decide on object unload (BZ #18657) 2015-07-23 11:16:18 +05:30
tst-unsetenv1.c
tst-xpg-basename.c
ucontext.h
udiv_qrnnd.c
Versions
wcstoimax.c
wcstombs.c
wcstoumax.c
wctomb.c
xpg_basename.c