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 <rsand...@gcc.gnu.org>: https://gcc.gnu.org/g:d91480dee934478063fe5945b73ff3c108e40a91 commit r10-7240-gd91480dee934478063fe5945b73ff3c108e40a91 Author: Duan bo <duan...@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 <duan...@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.