RISC-V: Fix test target selector

The previous target selector was not properly gating the tests to rv32
and rv64 targets. This was triggering an excess failure on rv32 targets
where it would try to run the zbc64 tests. Fix selector

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/crc-builtin-zbc32.c: Fix selector.
	* gcc.target/riscv/crc-builtin-zbc64.c: Ditto.

Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
This commit is contained in:
Edwin Lu 2024-12-02 17:29:55 -08:00
parent 2b93d71b06
commit eee3182e1a
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
/* { dg-do compile { target { riscv32*-*-* } } } */
/* { dg-do compile { target { rv32 } } } */
/* { dg-options "-march=rv32gc_zbc" } */
#include <stdint-gcc.h>

View file

@ -1,4 +1,4 @@
/* { dg-do compile { target { riscv64*-*-* } } } */
/* { dg-do compile { target { rv64 } } } */
/* { dg-options "-march=rv64gc_zbc" } */
#include <stdint-gcc.h>