diff options
author | Vladimir N. Makarov <vmakarov@redhat.com> | 2021-10-08 10:16:09 -0400 |
---|---|---|
committer | Vladimir N. Makarov <vmakarov@redhat.com> | 2021-10-08 12:53:32 -0400 |
commit | 9046e0d46fc285e5c59c87182d48c8de0f7f929c (patch) | |
tree | af51f6db9c95be448bf7c59cc7c2dffd1e8d80be /gcc/fortran/interface.c | |
parent | e6f6972b5f4711c110fa753c926df49415f230da (diff) | |
download | gcc-9046e0d46fc285e5c59c87182d48c8de0f7f929c.zip gcc-9046e0d46fc285e5c59c87182d48c8de0f7f929c.tar.gz gcc-9046e0d46fc285e5c59c87182d48c8de0f7f929c.tar.bz2 |
[PR102627] Use at least natural mode during splitting hard reg live range
In the PR test case SImode was used to split live range of cx on x86-64
because it was the biggest mode for this hard reg in the function. But
all 64-bits of cx contain structure members. We need always to use at least
natural mode of hard reg in splitting to fix this problem.
gcc/ChangeLog:
PR rtl-optimization/102627
* lra-constraints.c (split_reg): Use at least natural mode of hard reg.
gcc/testsuite/ChangeLog:
PR rtl-optimization/102627
* gcc.target/i386/pr102627.c: New test.
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions