aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-06-28 17:07:18 +0200
committerTom de Vries <tdevries@suse.de>2022-06-28 17:07:18 +0200
commit9117c7b452ef76304f4394a97c887d0c4af439f5 (patch)
tree3b3e584bd6dfa91fcccfd81c85f6cfdb4d406a47 /libiberty
parent68e80d96a84282d547f3b3c1234c99009521630c (diff)
downloadbinutils-9117c7b452ef76304f4394a97c887d0c4af439f5.zip
binutils-9117c7b452ef76304f4394a97c887d0c4af439f5.tar.gz
binutils-9117c7b452ef76304f4394a97c887d0c4af439f5.tar.bz2
[gdb/build] Fix gdb build with -fsanitize=thread and gcc 7
When building gdb with system gcc 7.5.0, I run into: ... gdb/ia64-tdep.c: In function ‘int is_float_or_hfa_type_recurse(type*, type**)’: gdb/ia64-tdep.c:3362:1: error: control reaches end of non-void function \ [-Werror=return-type] ... This is due to PR gcc/81275 - "-fsanitize=thread produce incorrect -Wreturn-type warning", which has been fixed in gcc-8. Work around this by moving the default return outside the switch. Tested on x86_64-linux.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions