[Bug c/94201] aarch64:ICE in tiny code model for ilp32
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 18 11:50:26 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94201
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>:
https://gcc.gnu.org/g:d91480dee934478063fe5945b73ff3c108e40a91
commit r10-7240-gd91480dee934478063fe5945b73ff3c108e40a91
Author: Duan bo <duanbo3@huawei.com>
Date: Wed Mar 18 10:18:39 2020 +0000
aarch64: Fix SYMBOL_TINY_GOT handling for ILP32 [PR94201]
The SYMBOL_TINY_GOT case in aarch64_load_symref_appropriately was
missing support for ILP32. This caused an ICE on the testcase.
2020-03-18 Duan bo <duanbo3@huawei.com>
gcc/
PR target/94201
* config/aarch64/aarch64.md (ldr_got_tiny): Delete.
(@ldr_got_tiny_<mode>): New pattern.
(ldr_got_tiny_sidi): Likewise.
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Use
them to handle SYMBOL_TINY_GOT for ILP32.
gcc/testsuite/
PR target/94201
* gcc.target/aarch64/pr94201.cï¼New test.
More information about the Gcc-bugs
mailing list