glibc/nis
Joseph Myers 882774658c Disable spurious -Warray-bounds for ypclnt.c (bug 26687)
Included among the GCC 11 warnings listed in bug 26687, but not fixed
when that bug was marked as FIXED, are -Warray-bounds warnings in
nis/ypclnt.c.  These are all for different calls to the same piece of
code, which already has a comment explaining that the element accessed
is in a common prefix of the various structures.  On the basis of that
comment, this patch treats the warning as a false positive and
disables it for that code.

Tested with build-many-glibcs.py for arm-linux-gnueabi, where,
together with my previous two patches, this allows the build of glibc
to complete with GCC 11 (further build failures appear in the
testsuite).

Reviewed-by: DJ Delorie <dj@redhat.com>
2020-10-30 21:40:25 +00:00
..
rpcsvc Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
Depend
libnsl.h Remove obsolete default/nss code 2020-08-29 11:42:39 +02:00
Makefile Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
nis_add.c
nis_addmember.c
nis_call.c
nis_callback.c
nis_checkpoint.c
nis_clone_dir.c
nis_clone_obj.c
nis_clone_res.c
nis_creategroup.c
nis_defaults.c
nis_destroygroup.c
nis_domain_of_r.c
nis_domain_of.c
nis_error.c
nis_error.h
nis_file.c
nis_findserv.c
nis_free.c
nis_getservlist.c
nis_hash.c
nis_intern.h
nis_ismember.c
nis_local_names.c
nis_lookup.c
nis_mkdir.c
nis_modify.c
nis_ping.c
nis_print_group_entry.c
nis_print.c
nis_remove.c
nis_removemember.c
nis_rmdir.c
nis_server.c
nis_subr.c
nis_table.c
nis_util.c
nis_verifygroup.c
nis_xdr.c
nis_xdr.h
Versions Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
yp_xdr.c
ypclnt.c Disable spurious -Warray-bounds for ypclnt.c (bug 26687) 2020-10-30 21:40:25 +00:00
ypupdate_xdr.c