[Bug target/122853] RISC-V: Wrong code with RVV loop vectorization: vwsubu.vv used producing wrong results

chenzhongyao.hit at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 27 01:41:23 GMT 2025


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

--- Comment #7 from Zhongyao Chen <chenzhongyao.hit at gmail dot com> ---
The issue was definitely with that commit. I updated to the newest commit,
re-tested, and the bug is gone.

A clue for the root cause is that removing __attribute__((noipa)) prevents the
bug from reproducing. 

Anyway, this bug is resolved somehow by trunk.


More information about the Gcc-bugs mailing list