Debian Codegraph @

gcc/testsuite/gcc.target/loongarch/pr118561.c

raw
1 /* PR target/118561: ICE with -mfpu=none */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -march=loongarch64 -mfpu=none" } */
4
5 int
6 test (void)
7 {
8 return __builtin_loongarch_movfcsr2gr (0); /* { dg-error "built-in function '__builtin_loongarch_movfcsr2gr' is not enabled" } */
9 }