https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121223

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(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.

Reply via email to