diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-11-19 01:41:12 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-11-19 01:45:29 +0800 |
commit | 84c5dede83de84e0a06b018103be0b9ede5b04a1 (patch) | |
tree | 9c3ee5b84be14058c9d94620b312c8bd7227bcb9 /libgcc | |
parent | 51bda9f136c03c948a9e95b60cb8b4257fb427be (diff) | |
download | gcc-84c5dede83de84e0a06b018103be0b9ede5b04a1.zip gcc-84c5dede83de84e0a06b018103be0b9ede5b04a1.tar.gz gcc-84c5dede83de84e0a06b018103be0b9ede5b04a1.tar.bz2 |
LoongArch: Fix "-mexplict-relocs=none -mcmodel=medium" producing %call36 when the assembler does not support it
Even if !HAVE_AS_SUPPORT_CALL36, const_call_insn_operand should still
return false when -mexplict-relocs=none -mcmodel=medium to make
loongarch_legitimize_call_address emit la.local or la.global.
gcc/ChangeLog:
* config/loongarch/predicates.md (const_call_insn_operand):
Remove buggy "HAVE_AS_SUPPORT_CALL36" conditions. Change "1" to
"true" to make the coding style consistent.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions