https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111058
--- Comment #4 from chenxiaolong <chenxiaolong at loongson dot cn> --- (In reply to chenxiaolong from comment #3) > //test.c > #include<stdio.h> > > int main(void) > { > _Float128 ret=__builtin_nansf128("NAN"); > printf("ret=%Lf\n",ret); > > return 0; > } > Compile command: gcc test.c -s -o - > result: > > x86_64: > ... > movl $.LC0, %edi > call __builtin_nansf128 > ... > LoongArch: > > la.local $r4,.LC0 > bl %plt(__builtin_nansf128) Compile command: gcc test.c -S -o -