+2019-09-24 Alistair Francis <alistair.francis@wdc.com>
+
+ * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
+
2019-09-24 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/arm/sysdep.h
#include <stdbool.h>
#include <stdint.h>
#include <sys/time.h>
+#include <libc-diag.h>
int __inet6_scopeid_pton (const struct in6_addr *address,
const char *scope, uint32_t *result);
return deadline.absolute.tv_nsec < 0;
}
+/* GCC 8.3 and 9.2 both incorrectly report total_deadline
+ * (from sunrpc/clnt_udp.c) as maybe-uninitialized when tv_sec is 8 bytes
+ * (64-bits) wide on 32-bit systems. We have to set -Wmaybe-uninitialized
+ * here as it won't fix the error in sunrpc/clnt_udp.c.
+ * A GCC bug has been filed here:
+ * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91691
+ */
+DIAG_PUSH_NEEDS_COMMENT;
+DIAG_IGNORE_NEEDS_COMMENT (9, "-Wmaybe-uninitialized");
+
/* Return true if the current time is at the deadline or past it. */
static inline bool
__deadline_elapsed (struct deadline_current_time current,
return right;
}
+DIAG_POP_NEEDS_COMMENT;
+
/* Add TV to the current time and return it. Returns a special
infinite absolute deadline on overflow. */
struct deadline __deadline_from_timeval (struct deadline_current_time,