diff options
author | Bin Cheng <bin.cheng@linux.alibaba.com> | 2021-07-28 17:50:59 +0800 |
---|---|---|
committer | Bin Cheng <bin.cheng@linux.alibaba.com> | 2021-07-28 17:50:59 +0800 |
commit | b662250c1f5e0e453f1fd6022cc47e517f70fa8e (patch) | |
tree | 9a846383080e6e786aa9a9c2aa13d72ebd702ae3 /gcc/tree-ssa-threadbackward.c | |
parent | 0f95c6b2f7dae35ec8c9f211d63edc42baa1d2b7 (diff) | |
download | gcc-b662250c1f5e0e453f1fd6022cc47e517f70fa8e.zip gcc-b662250c1f5e0e453f1fd6022cc47e517f70fa8e.tar.gz gcc-b662250c1f5e0e453f1fd6022cc47e517f70fa8e.tar.bz2 |
AArch64: use stable sorting in generating ldp/stp
In some corner cases, we have code as below:
[base + 0x310] = A
[base + 0x320] = B
[base + 0x330] = C
[base + 0x320] = D
unstable sorting could result in wrong value in offset 0x320. The
patch fixes it by using gcc_stablesort.
2021-07-28 Bin Cheng <bin.cheng@linux.alibaba.com>
* config/aarch64/aarch64.c (aarch64_gen_adjusted_ldpstp): use
gcc_stablesort.
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions