diff options
author | Duan bo <duanbo3@huawei.com> | 2020-03-18 10:18:39 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2020-03-18 11:50:04 +0000 |
commit | d91480dee934478063fe5945b73ff3c108e40a91 (patch) | |
tree | 43a863f30f27e06acdd2724d2c135263e646891f /gcc/fortran/class.c | |
parent | cb26919c857f002fc17f7c478e7c8f0eb2a7c9b2 (diff) | |
download | gcc-d91480dee934478063fe5945b73ff3c108e40a91.zip gcc-d91480dee934478063fe5945b73ff3c108e40a91.tar.gz gcc-d91480dee934478063fe5945b73ff3c108e40a91.tar.bz2 |
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.
Diffstat (limited to 'gcc/fortran/class.c')
0 files changed, 0 insertions, 0 deletions