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

Kirill Smirnov <kirill.k.smirnov at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pan2.li at intel dot com

--- Comment #1 from Kirill Smirnov <kirill.k.smirnov at gmail dot com> ---
Apparently, the nature of this bug is very similar to bug 127739, but the
source is different.

This bug is caused by the patch:

commit 53c4e6602ac7bb23cc6f873e59578840f15575db
Author: Pan Li <[email protected]>
Date:   Sun Jul 19 17:23:36 2026 +0800

    RISC-V: Allow RVV register overlap for vfwcvt.f.f.v

    Like v[sz]ext.vf8, allow the rvv register overlap
    for vfwcvt.f.f.v.

    gcc/ChangeLog:

            * config/riscv/vector.md: Leverage Wvr constraint.

    Signed-off-by: Pan Li <[email protected]>


After the patch, registers tend to overlap too much for risc-v specification,
gcc catches this too lately and throws ICE.

To be 100% sure, I have checked that fresh gcc (HEAD
50e2a7df756c1cd89b37ff6882e1bdb6ebe3697f) with reverted patch makes gcc happy.

CC'ing Pan Li.
  • [Bug rtl-optimization/12843... kirill.k.smirnov at gmail dot com via Gcc-bugs
    • [Bug target/128439] ri... kirill.k.smirnov at gmail dot com via Gcc-bugs

Reply via email to