aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-11-04 01:35:25 +0800
committerXi Ruoyao <xry111@xry111.site>2022-11-09 17:11:23 +0800
commitd699d32f47833cfab959a810dad48774c021c677 (patch)
treead0f3eb8bd34c361d3c9fe8f4882c79a7c9443e1 /gcc/fortran
parent1f9c79367e136e0ca5b775562e6111e1a0d0046f (diff)
downloadgcc-d699d32f47833cfab959a810dad48774c021c677.zip
gcc-d699d32f47833cfab959a810dad48774c021c677.tar.gz
gcc-d699d32f47833cfab959a810dad48774c021c677.tar.bz2
LoongArch: fix signed overflow in loongarch_emit_int_compare
Signed overflow is an undefined behavior, so we need to prevent it from happening, instead of "checking" the result. gcc/ChangeLog: * config/loongarch/loongarch.cc (loongarch_emit_int_compare): Avoid signed overflow.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions