https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123870
--- Comment #4 from Ilya Kurdyukov <jpegqs at gmail dot com> --- Comment 3 was from gcc-14 -O0, gcc-15 doesn't have such error. In any case, I'll give up on porting the code to XTheadVector's target. While RVV 1.0 works fine (on Ky X1), XTheadVector (on Sophgo SG2002) is terrible. I found a workaround for the intrinsics that GCC can't compile, but it still have another ICE, which I can't reproduce in a small test. The application built with -O1 crashes with a SIGILL error. The application built with -O2 works, but the calculation result is wrong, it could become correct if I change the code in the same function, which isn't even executed. These are either compiler errors or hardware errors. It's impossible to work with this.
