Hi, I've bootstraped the patch with my GNU-stack fix (https://github.com/loongson/gcc/pull/62) and --enable-werror-always. Bootstrap succeeded, but with some warnings:
../../gcc/config/loongarch/loongarch.md:3205:1: warning: operand 0 missing mode? ../../gcc/config/loongarch/loongarch.md:3282:1: warning: operand 1 missing mode? ../../gcc/config/loongarch/loongarch.md:3329:1: warning: operand 1 missing mode? ../../gcc/config/loongarch/loongarch.md:3392:1: warning: operand 0 missing mode? ../../gcc/config/loongarch/loongarch.md:3470:1: warning: operand 1 missing mode? ../../gcc/config/loongarch/loongarch.md:3520:1: warning: operand 1 missing mode? A similar issue exists for MIPS (PR101593) and I've not figured out how to silence these warnings. I'm trying to run GCC regression test on LoongArch, but all my previous tries couldn't finish because a kernel panic was triggered. The kernel was built from source pulled from https://github.com/loongson/linux/tree/loongarch-next. I'm not sure if this is a bug in Huacai's patches, or a bug in mainline kernel, or even a hardware issue. If you have some idea about the panic please inform me (this is off-topic though). -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University