diff options
author | Mark Wielaard <mark@klomp.org> | 2022-05-03 23:17:31 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2022-05-04 16:07:59 +0200 |
commit | 716e54731f30bc60b2fc52996ebe4fc087420b2e (patch) | |
tree | 041b27d552dc090fecd5bf4582c757c3bc61e90d /gdb/objc-lang.c | |
parent | 5890af36e5112bcbb8d7555e63570f68466e6944 (diff) | |
download | binutils-716e54731f30bc60b2fc52996ebe4fc087420b2e.zip binutils-716e54731f30bc60b2fc52996ebe4fc087420b2e.tar.gz binutils-716e54731f30bc60b2fc52996ebe4fc087420b2e.tar.bz2 |
gdb: Workaround stringop-overread warning in debuginfod-support.c on s390x
For some reason g++ 11.2.1 on s390x produces a spurious warning for
stringop-overread in debuginfod_is_enabled for url_view. Add a new
DIAGNOSTIC_IGNORE_STRINGOP_OVERREAD macro to suppress this warning.
include/ChangeLog:
* diagnostics.h (DIAGNOSTIC_IGNORE_STRINGOP_OVERREAD): New
macro.
gdb/ChangeLog:
* debuginfod-support.c (debuginfod_is_enabled): Use
DIAGNOSTIC_IGNORE_STRINGOP_OVERREAD on s390x.
Diffstat (limited to 'gdb/objc-lang.c')
0 files changed, 0 insertions, 0 deletions