https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127739
--- Comment #5 from Kirill Smirnov <kirill.k.smirnov at gmail dot com> --- Groche97's test case is not reproducible in any gcc-17 version I have as well. I believe it is already fixed. ---- vfwcvt.* instructions ([1], sect. 13.18) obey constraints for widening instructions in sect. 10.2, which refer to sect. 5.2 for general vector operands constraints: ``` * The destination EEW is greater than the source EEW, the source EMUL is at least 1, and the overlap is in the highest-numbered part of the destination register group ``` I interpret ICE dump as follows: gcc tried to assign both source and dest operands to v7. This led to overlapping in lowest-numbered part, which is inacceptable. [1] https://storage.googleapis.com/shodan-public-artifacts/RVV-Specification-Docs/riscv-v-spec-1.0-frozen-for-public-review.pdf
