aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2/gm2-compiler/M2StackSpell.mod
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2025-11-01 08:30:41 -0600
committerJeff Law <jlaw@ventanamicro.com>2025-11-01 08:30:41 -0600
commitac3eeb987ad04923ddc57a9dc9bd4ec98146a981 (patch)
tree53112635e4822b4fe0d37a95a8d996dbaf8a8d4c /gcc/m2/gm2-compiler/M2StackSpell.mod
parentacbcbeb91f93f400dcc0354713790daa84e5c707 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
[PR rtl-optimization/122321][RISC-V] Bounds check another access to ira_reg_equiv arrayHEADtrunkmaster
So another case where we're indexing into the ira_reg_equiv array without checking bounds. I sincerely hope we're not playing wack-a-mole here, but two failures in a couple months for the same core problem is worrisome. Bootstrapped and regression tested on x86_64 and riscv64 as well as run through all the embedded targets in my tester without regressions. PR rtl-optimization/122321 gcc/ * lra-constraints.cc (update_equiv): Make sure REGNO is in ira_reg_equiv before trying to update ira_reg_equiv. gcc/testsuite/ * gcc.target/riscv/rvv/autovec/pr122321.c: New test.
Diffstat (limited to 'gcc/m2/gm2-compiler/M2StackSpell.mod')
0 files changed, 0 insertions, 0 deletions