[Bug target/106459] Compiler crashing for loongarch64-linux-gnu on windows
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 25 01:19:53 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106459
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Chenghua Xu <paulhua@gcc.gnu.org>:
https://gcc.gnu.org/g:b169b67d7dafe2b786f87c31d6b2efc603fd880c
commit r13-2195-gb169b67d7dafe2b786f87c31d6b2efc603fd880c
Author: Chenghua Xu <xuchenghua@loongson.cn>
Date: Wed Aug 24 15:34:07 2022 +0800
LoongArch: Fix pr106459 by use HWIT instead of 1UL.
gcc/ChangeLog:
PR target/106459
* config/loongarch/loongarch.cc (loongarch_build_integer):
Use HOST_WIDE_INT.
* config/loongarch/loongarch.h (IMM_REACH): Likewise.
(HWIT_1U): New Defined.
(LU12I_OPERAND): Use HOST_WIDE_INT.
(LU32I_OPERAND): Likewise.
(LU52I_OPERAND): Likewise.
(HWIT_UC_0xFFF): Likwise.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/pr106459.c: New test.
More information about the Gcc-bugs
mailing list