diff options
author | Edwin Lu <ewlu@rivosinc.com> | 2025-01-09 10:32:07 -0800 |
---|---|---|
committer | Edwin Lu <ewlu@rivosinc.com> | 2025-01-09 14:11:00 -0800 |
commit | 2d0f3457a80b804dc0d33924781cf386a0088511 (patch) | |
tree | e8d5330928c0dc0bf1a6a49eee04dbf3df8ae2ea /gcc/c | |
parent | 08b6e875c6b1b52c6e98f4a2e37124bf8c6a6ccb (diff) | |
download | gcc-2d0f3457a80b804dc0d33924781cf386a0088511.zip gcc-2d0f3457a80b804dc0d33924781cf386a0088511.tar.gz gcc-2d0f3457a80b804dc0d33924781cf386a0088511.tar.bz2 |
RISC-V: testsuite: fix target selector for sync_char_short
The effective-target selector for riscv on sync_char_short did not
check to see if atomics were enabled. As a result, these test cases were
ran on targets without the a extension. Add additional checks for zalrsc
or zabha extensions.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp: Fix effective target sync_char_short
for riscv*-*-*
Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions