]> git.ipfire.org Git - thirdparty/gcc.git/commit
LoongArch: Fix runtime error in a gcc build with --with-build-config=bootstrap-ubsan
authorGuo Jie <guojie@loongson.cn>
Thu, 23 Nov 2023 03:05:56 +0000 (11:05 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Mon, 27 Nov 2023 02:47:48 +0000 (10:47 +0800)
commit8b9d0e8cf482287b6c37b5a268d0eb2d0a964561
treec23e84bc7c6f8ddce0928595fe61a167e7a43569
parent96577dfae97e49a052c0b4d9843fb10f89632fd9
LoongArch: Fix runtime error in a gcc build with --with-build-config=bootstrap-ubsan

gcc/ChangeLog:

* config/loongarch/loongarch.cc (loongarch_split_plus_constant):
avoid left shift of negative value -0x8000.
gcc/config/loongarch/loongarch.cc