aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2023-08-17 11:57:45 -0400
committerVladimir N. Makarov <vmakarov@redhat.com>2023-08-17 12:01:49 -0400
commitbd7257f08c9b18bdd66a59bff2e02801a8aaf340 (patch)
treefffbac0cfcb0a271f931837fdb40008ca05ff14d /gcc/rust
parente1f45bea2741c271efbc4c2f9dfad93cbcd644c0 (diff)
downloadgcc-bd7257f08c9b18bdd66a59bff2e02801a8aaf340.zip
gcc-bd7257f08c9b18bdd66a59bff2e02801a8aaf340.tar.gz
gcc-bd7257f08c9b18bdd66a59bff2e02801a8aaf340.tar.bz2
[LRA]: When assigning stack slots to pseudos previously assigned to fp consider other spilled pseudos
The previous LRA patch can assign slot of conflicting pseudos to pseudos spilled after prohibiting fp->sp elimination. This patch fixes this problem. gcc/ChangeLog: * lra-spills.cc (assign_stack_slot_num_and_sort_pseudos): Moving slots_num initialization from here ... (lra_spill): ... to here before the 1st call of assign_stack_slot_num_and_sort_pseudos. Add the 2nd call after fp->sp elimination.
Diffstat (limited to 'gcc/rust')
0 files changed, 0 insertions, 0 deletions