On 2/8/25 1:11 AM, Liao Shihua wrote:
The following warning was encountered while building GCC, fix it:
../.././gcc/gcc/config/riscv/bitmanip.md:809:1: warning: source missing a mode?
../.././gcc/gcc/config/riscv/bitmanip.md:809:1: warning: source missing a mode?

gcc/ChangeLog:

        * config/riscv/bitmanip.md (*bsetclr_zero_extract):
        (*bsetclr_zero_extract<mode>): Add missing mode in pattern.
Umm, did you verify if that actually fixed the message? What you changed shouldn't impact that warning at all as it's just a name used in dump files.

More likely it's warning about operand 2. And the lackof a mode for an immediate operand really isn't a problem. If you want to try and fix it, the most likely mode it should be using would be "X".

jeff

Reply via email to