https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123870
--- Comment #9 from Ilya Kurdyukov <jpegqs at gmail dot com> --- Created attachment 63528 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63528&action=edit jpegqs.prep.c.zip I had some code ported to RVV 1.0 and started compiling it for the xtheadvector extension. I assumed GCC would give me errors for unsupported intrinsics, which it did, but for some, the compiler started printing ICE errors. I found replacements for the unsupported intrinsics, but the compilation results were unstable. There's another ICE error (mentioned earlier), which I think is more significant than the ICE error for intrinsics that shouldn't be in xtheadvector. $ cc jpegqs.prep.c -O2 -march=rv64gc_xtheadvector -c during RTL pass: vsetvl quantsmooth.c: In function ‘main’: quantsmooth.c:627:1: internal compiler error: in validate_change_or_fail, at config/riscv/riscv-v.cc:5611 627 | } | ^ 0x2263ea9 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, void**, diagnostic_t) ???:0 0x227033d internal_error(char const*, ...) ???:0 0x64e8cf fancy_abort(char const*, int, char const*) ???:0 0xee0013 riscv_vector::validate_change_or_fail(rtx_def*, rtx_def**, rtx_def*, bool) ???:0 0xeeb3d9 pre_vsetvl::remove_avl_operand() ???:0 0xef1e49 pass_vsetvl::lazy_vsetvl() ???:0 0xef2341 pass_vsetvl::execute(function*) ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions.
