ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/riscv/mcpu-4.c

19 lines
430 B
C

/* { dg-do compile } */
/* { dg-skip-if "-march given" { *-*-* } { "-march=*" } } */
/* { dg-options "-mcpu=sifive-u74 -mabi=lp64" } */
/* sifive-u74 = rv64imafdc */
#if !((__riscv_xlen == 64) \
&& !defined(__riscv_32e) \
&& defined(__riscv_mul) \
&& defined(__riscv_atomic) \
&& (__riscv_flen == 64) \
&& defined(__riscv_compressed))
#error "unexpected arch"
#endif
int main()
{
return 0;
}