Re: LoongArch: add model attribute

2022-08-30 Thread Richard Sandiford via Gcc-patches
Xi Ruoyao via Gcc-patches writes: > Another attempt to make kernel module happy. > > One remaining issue: the patch cannot diagnostic some insane thing like > > int x __attribute__((model("normal"))); > int x __attribute__((model("extreme"))); > > It seems incredibly difficult to diagnose

Re: LoongArch: add model attribute

2022-08-23 Thread Lulu Cheng
在 2022/8/23 下午10:51, Xi Ruoyao 写道: diff --git a/gcc/config/loongarch/loongarch-protos.h b/gcc/config/loongarch/loongarch-protos.h index cadaad7519c..4e925aa3876 100644 --- a/gcc/config/loongarch/loongarch-protos.h +++ b/gcc/config/loongarch/loongarch-protos.h @@ -30,6 +30,12 @@ along with GCC;