diff options
author | Edwin Lu <ewlu@rivosinc.com> | 2024-07-12 11:31:16 -0700 |
---|---|---|
committer | Edwin Lu <ewlu@rivosinc.com> | 2024-07-15 09:43:46 -0700 |
commit | 4306f76192bc7ab71c5997a7e2c95320505029ab (patch) | |
tree | e03af0aa15e1fedc8d893c679a7aa2272e370c5b /gcc/tree-vect-loop.cc | |
parent | 8f87b3c5ecd47f6ac0d7407ae5d436a12fb169dd (diff) | |
download | gcc-4306f76192bc7ab71c5997a7e2c95320505029ab.zip gcc-4306f76192bc7ab71c5997a7e2c95320505029ab.tar.gz gcc-4306f76192bc7ab71c5997a7e2c95320505029ab.tar.bz2 |
RISC-V: Fix testcase for vector .SAT_SUB in zip benchmark
The following testcase was not properly testing anything due to an
uninitialized variable. As a result, the loop was not iterating through
the testing data, but instead on undefined values which could cause an
unexpected abort.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/binop/vec_sat_binary_vx.h:
initialize variable
Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions