aboutsummaryrefslogtreecommitdiff
path: root/libiberty/concat.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-11 19:30:41 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-13 00:57:00 -0500
commitdc5a4621600e650b89deb92c79eaacc73fcc767a (patch)
tree751639d6cd55b404a0ec0ccc03411649abfa7eb2 /libiberty/concat.c
parentb9252d079a28c6da1b42e501217f25e8a6652321 (diff)
downloadgdb-dc5a4621600e650b89deb92c79eaacc73fcc767a.zip
gdb-dc5a4621600e650b89deb92c79eaacc73fcc767a.tar.gz
gdb-dc5a4621600e650b89deb92c79eaacc73fcc767a.tar.bz2
sim: sh: rework carry checks to not rely on integer overflows
In <=gcc-7 versions, -fstrict-overflow is enabled by default, and that triggers warnings in this code that relies on integer overflows to test for carries. Change the logic to test against the limit directly.
Diffstat (limited to 'libiberty/concat.c')
0 files changed, 0 insertions, 0 deletions