diff options
author | Pan Li <pan2.li@intel.com> | 2024-12-04 13:53:52 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2024-12-04 16:47:38 +0800 |
commit | fb64a7b0e1d7488e6e3ae96af8d97fd2226b6d21 (patch) | |
tree | 6b34ff6548f542d80fbfac45675c77295cd9439e /gcc/c | |
parent | b7c69cc072ef0da36439ebc55c513b48e68391b7 (diff) | |
download | gcc-fb64a7b0e1d7488e6e3ae96af8d97fd2226b6d21.zip gcc-fb64a7b0e1d7488e6e3ae96af8d97fd2226b6d21.tar.gz gcc-fb64a7b0e1d7488e6e3ae96af8d97fd2226b6d21.tar.bz2 |
RISC-V: Add assert for insn operand out of range access [PR117878][NFC]
According to the the initial analysis of PR117878, the ice comes from
the out-of-range operand access for recog_data.operand[]. Thus, add
one assert here to expose this explicitly.
PR target/117878
gcc/ChangeLog:
* config/riscv/riscv-v.cc (vlmax_avl_type_p): Add assert for
out of range access.
(nonvlmax_avl_type_p): Ditto.
Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions