aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2023-06-07 09:51:54 -0400
committerVladimir N. Makarov <vmakarov@redhat.com>2023-06-07 11:34:28 -0400
commit8cc8707446b77f9413654b31704f5a639673c916 (patch)
tree8f7641ca7e3bb1c0bfb2960441c9115977874766 /libgcc
parentb747f54a2a930da55330c2861cd1e344f67a88d9 (diff)
downloadgcc-8cc8707446b77f9413654b31704f5a639673c916.zip
gcc-8cc8707446b77f9413654b31704f5a639673c916.tar.gz
gcc-8cc8707446b77f9413654b31704f5a639673c916.tar.bz2
RA: Constrain class of pic offset table pseudo to general regs
On some targets an integer pseudo can be assigned to a FP reg. For pic offset table pseudo it means we will reload the pseudo in this case and, as a consequence, memory containing the pseudo might be recognized as wrong one. The patch fix this problem. PR target/109541 gcc/ChangeLog: * ira-costs.cc: (find_costs_and_classes): Constrain classes of pic offset table pseudo to a general reg subset. gcc/testsuite/ChangeLog: * gcc.target/sparc/pr109541.c: New.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions