]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Fix one typo result in pr121959-run-1 run failure
authorPan Li <pan2.li@intel.com>
Thu, 27 Nov 2025 13:43:37 +0000 (21:43 +0800)
committerPan Li <pan2.li@intel.com>
Thu, 27 Nov 2025 14:02:59 +0000 (22:02 +0800)
The reference value of run test data array[0] is not updated.
Thus, update it to make the run test happy.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/pr121959-run-1.c: Update
the reference for run test.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/testsuite/gcc.target/riscv/rvv/autovec/pr121959-run-1.c

index 77fd95b8ebb12b169e5127740fcb1976810d1d20..af6141d1a87503361003f428ec36ea8a898c08ce 100644 (file)
@@ -17,7 +17,7 @@ NT g_data[][2][N] = {
   {
     /* a */
     {
-        2,   2,   2,   1,
+        2,   2,   2,   2,
       255, 255, 255, 255,
       128, 128, 128, 128,
       127, 127, 127, 127,