aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@ventanamicro.com>2023-12-11 14:16:04 +0100
committerRobin Dapp <rdapp@ventanamicro.com>2023-12-11 15:31:59 +0100
commitb1474da1bb9cc829cbf597f9a51393795108419f (patch)
tree25fc1c72ab6dfde89878566af1e1dfc171344f91 /gcc/expr.cc
parent055f08feee3424a29403047a7049af467f2b26cd (diff)
downloadgcc-b1474da1bb9cc829cbf597f9a51393795108419f.zip
gcc-b1474da1bb9cc829cbf597f9a51393795108419f.tar.gz
gcc-b1474da1bb9cc829cbf597f9a51393795108419f.tar.bz2
RISC-V: testsuite: Fix strcmp-run.c test.
This fixes expectations in the strcmp-run test which would sometimes fail with newlib. The test expects libc strcmp return values and asserts the vectorized result is similar to those. Therefore hard-code the expected results instead of relying on a strcmp call. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/builtin/strcmp-run.c: Adjust test expectation and target selector. * gcc.target/riscv/rvv/autovec/builtin/strlen-run.c: Adjust target selector. * gcc.target/riscv/rvv/autovec/builtin/strncmp-run.c: Ditto.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions