aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/misc.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-11-08 22:09:16 +0100
committerEric Botcazou <ebotcazou@adacore.com>2021-11-08 22:12:19 +0100
commit6c5fffd127ec00038f379773f751bf803bc548b0 (patch)
tree3805a4955c152ff98137af8ff09cfc843ecdef60 /gcc/fortran/misc.c
parentd44d791012efda1f48ed647d1d3a1538d15d4e19 (diff)
downloadgcc-6c5fffd127ec00038f379773f751bf803bc548b0.zip
gcc-6c5fffd127ec00038f379773f751bf803bc548b0.tar.gz
gcc-6c5fffd127ec00038f379773f751bf803bc548b0.tar.bz2
Fix couple of issues in large PIC model on x86-64/VxWorks
The first issue is that the !gotoff_operand path of legitimize_pic_address in the large PIC model does not make use of REG when it is available, which breaks for thunks because new pseudo-registers can no longer be created. And the second issue is that the system compiler (LLVM) generates @GOTOFF in large model even for RTP, so we do the same. gcc/ * config/i386/i386.c (legitimize_pic_address): Adjust comment and use the REG argument on the CM_LARGE_PIC code path as well. * config/i386/predicates.md (gotoff_operand): Do not treat VxWorks specially with the large code models.
Diffstat (limited to 'gcc/fortran/misc.c')
0 files changed, 0 insertions, 0 deletions