https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118561
--- Comment #3 from chenglulu <chenglulu at loongson dot cn> --- (In reply to chenglulu from comment #2) > test.c > ``` > int > test () > { > return __builtin_loongarch_movfcsr2gr (0); > } > ``` > ./gcc/cc1 $ ./gcc/cc1 test.c -o - -O2 -mfpu=none The above test cases are experiencing the same issue.