aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-10-02 21:12:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-10-02 21:12:17 +0000
commit2334a78a4982f8d594e8da8f29d9e06ee5c15824 (patch)
treed7ebdc36f165887844e659efb90f9a6e89005a63 /ChangeLog
parent0095a3e8d6fe89ff2bcfc83bbe190c0106dd4111 (diff)
downloadglibc-2334a78a4982f8d594e8da8f29d9e06ee5c15824.zip
glibc-2334a78a4982f8d594e8da8f29d9e06ee5c15824.tar.gz
glibc-2334a78a4982f8d594e8da8f29d9e06ee5c15824.tar.bz2
Disable -Wmaybe-uninitialized for total_deadline in sunrpc/clnt_udp.c.
To work around <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91691> for RV32, we recently disabled -Wmaybe-uninitialized for some inline functions in inet/net-internal.h, as included by sunrpc/clnt_udp.c. The same error has now appeared with current GCC trunk for MIPS, in a form that is located at the definition of the variable in question and so unaffected by the disabling in inet/net-internal.h. Thus, this patch adds the same disabling around the definition of that variable, to cover the MIPS case. Tested with build-many-glibcs.py (compilers and glibcs stages) for mips64-linux-gnu with GCC mainline. * sunrpc/clnt_udp.c: Include <libc-diag.h>. (clntudp_call): Disable -Wmaybe-uninitialized around declaration of total_deadline.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c0d97f5..601403a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-10-02 Joseph Myers <joseph@codesourcery.com>
+
+ * sunrpc/clnt_udp.c: Include <libc-diag.h>.
+ (clntudp_call): Disable -Wmaybe-uninitialized around declaration
+ of total_deadline.
+
2019-10-02 Alistair Francis <alistair.francis@wdc.com>
* string/endian.h: Restore the __USE_MISC conditionals.