https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
--- Comment #24 from Andreas Schwab <[email protected]> --- make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/highway-1.3.0-build/highway-1.3.0/build' [ 35%] Linking CXX executable tests/arithmetic_test /usr/bin/cmake -E cmake_link_script CMakeFiles/arithmetic_test.dir/link.txt --verbose=1 /home/abuild/rpmbuild/BUILD/highway-1.3.0-build/highway-1.3.0/hwy/tests/arithmetic_test.cc: In function ‘operator().constprop’: /home/abuild/rpmbuild/BUILD/highway-1.3.0-build/highway-1.3.0/hwy/tests/arithmetic_test.cc:365:21: note: non-delegitimized UNSPEC UNSPEC_VSETVL (91) found in variable location 365 | HWY_NOINLINE void operator()(T /*unused*/, D d) { | ^ /home/abuild/rpmbuild/BUILD/highway-1.3.0-build/highway-1.3.0/hwy/tests/arithmetic_test.cc:365:21: note: non-delegitimized UNSPEC UNSPEC_VSETVL (91) found in variable location [ many "non-delegitimized UNSPEC UNSPEC_VSETVL (91) found in variable location" deleted ] during GIMPLE pass: fre /home/abuild/rpmbuild/BUILD/highway-1.3.0-build/highway-1.3.0/hwy/ops/generic_ops-inl.h: In function ‘MaskedAbsOr’: /home/abuild/rpmbuild/BUILD/highway-1.3.0-build/highway-1.3.0/hwy/ops/generic_ops-inl.h:937:11: internal compiler error: gimple check: expected gimple_assign(error_mark), have gimple_call(vec_duplicate_expr) in gimple_assign_rhs_code, at gimple.h:2919 937 | HWY_API V MaskedAbsOr(V no, M m, V v) { | ^ 0x277eeef diagnostics::context::diagnostic_impl(rich_location*, diagnostics::metadata const*, diagnostics::option_id, char const*, void**, diagnostics::kind) ???:0 0x27766cb internal_error(char const*, ...) ???:0 0x7734a3 gimple_check_failed(gimple const*, char const*, int, char const*, gimple_code, tree_code) ???:0 0x101cc6f vn_nary_length_from_stmt(gimple*) ???:0 0x10223ad vn_nary_op_lookup_stmt(gimple*, vn_nary_op_s**) ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.opensuse.org/> for instructions. make[3]: *** [/tmp/ccEwd3PZ.mk:20: /tmp/ccR9SYZQ.ltrans9.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/lib64/gcc/riscv64-suse-linux/16/../../../../riscv64-suse-linux/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status /usr/bin/c++ -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -O2 -g -DNDEBUG -flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -march=rv64gcv1p0 -fPIE -pie -Wl,--dependency-file=CMakeFiles/arithmetic_test.dir/link.d CMakeFiles/arithmetic_test.dir/hwy/tests/arithmetic_test.cc.o -o tests/arithmetic_test -Wl,-rpath,/home/abuild/rpmbuild/BUILD/highway-1.3.0-build/highway-1.3.0/build libhwy_test.so.1.3.0 libhwy_contrib.so.1.3.0 /usr/lib64/libgtest.so /usr/lib64/libgtest_main.so libhwy.so.1.3.0 /usr/lib64/libgtest.so make[2]: *** [CMakeFiles/arithmetic_test.dir/build.make:110: tests/arithmetic_test] Error 1 make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/highway-1.3.0-build/highway-1.3.0/build' make[1]: *** [CMakeFiles/Makefile2:1782: CMakeFiles/arithmetic_test.dir/all] Error 2
