On Fri, 2023-03-03 at 10:12 +0800, Yujie Yang wrote: > However, "loongarch64" is defined to include the "fpu64" ISA module[1] > (i.e. enable "-mfpu=64" when -mfpu is not explicitly used). So I believe > the above behavior you observed is expected.
Ah this make things much simpler and aligns with my gut feeling :). I can drop the change in loongarch-opts.cc now. And the smaller changeset also makes me more confident about a backport to gcc-12. V2 patch is being tested and I'll send it after the testing. Meanwhile I created PR109000 to track the issue. -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University