https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121223
--- Comment #3 from chenglulu <chenglulu at loongson dot cn> --- (In reply to Xi Ruoyao from comment #2) > (In reply to chenglulu from comment #1) > > The reason for the failure to compile final.cc is that LoongArch defines the > > macro as follows: > > > > ``` > > #define CASE_VECTOR_SHORTEN_MODE(MIN, MAX, BODY) Pmode > > ``` > > This error occurs because MIN and MAX are not used in the implementation of > > this macro. > > > > But I think this macro does not need to be defined on the LoongArch. > > To me if the mode is always Pmode, CASE_VECTOR_MODE is enough. I think so too.