diff options
| author | Vladimir N. Makarov <vmakarov@redhat.com> | 2026-02-04 15:46:22 -0500 |
|---|---|---|
| committer | Vladimir N. Makarov <vmakarov@redhat.com> | 2026-02-04 15:49:01 -0500 |
| commit | 7653fb4e9b8e8a1c434d706b44b99d1e399e308e (patch) | |
| tree | 1390c649ca6479a11205d6b2894a4ccd07e88500 /libjava/gnu/java/security | |
| parent | 7c6cb40a44498991ed93d3dd19d128105e8b64b8 (diff) | |
| download | gcc-7653fb4e9b8e8a1c434d706b44b99d1e399e308e.zip gcc-7653fb4e9b8e8a1c434d706b44b99d1e399e308e.tar.gz gcc-7653fb4e9b8e8a1c434d706b44b99d1e399e308e.tar.bz2 | |
[PR123922, LRA]: Fix asan related bug in LRA
LRA rarely splits hard reg live ranges to assign regs to pseudos when
other possibility to allocate regs failed. During the pseudo
assignment LRA updates hard reg preferences of pseudos connected to
given pseudo through copies. For this LRA uses array
update_hard_regno_preference_check which was not allocated during hard
reg live range splitting. The patch fixes the bug by allocation of
the array during hard reg live range splitting.
gcc/ChangeLog:
PR rtl-optimization/123922
* lra-assigns.cc (lra_split_hard_reg_for): Allocate and free
update_hard_regno_preference_check. Clear non_reload_pseudos for
successful spilling too.
Diffstat (limited to 'libjava/gnu/java/security')
0 files changed, 0 insertions, 0 deletions
