https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110264
Bug ID: 110264 Summary: internal compiler error: src/gcc/toplev.cc:314 Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: malat at debian dot org Target Milestone: --- Created attachment 55324 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55324&action=edit preprocessed source I cannot compile highway on riscv/rv64gcv1p0 with gcc-13. Compilation fails with: % /usr/bin/g++-13 -freport-bug -DHWY_SHARED_DEFINE -I"/home/malat/highway-1.0.5~git20230612.46fb57d" -g -O2 -ffile-prefix-map=/home/malat/highway-1.0.5~git20230612.46fb57d=. -fstack-protector-strong -Wformat -Werror=format-security -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -fmath-errno -fno-exceptions -march=rv64gcv1p0 -Werror -DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o -MF CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o.d -o CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o -c '/home/malat/highway-1.0.5~git20230612.46fb57d/hwy/contrib/algo/find_test.cc' during RTL pass: vsetvl /home/malat/highway-1.0.5~git20230612.46fb57d/hwy/contrib/algo/find_test.cc: In function 'void hwy::N_RVV::ForeachCountAndMisalign<Test>::operator()(T, D) const [with T = float; D = hwy::N_RVV::Simd<float, 2048, -2>; Test = hwy::N_RVV::TestFindIf]': /home/malat/highway-1.0.5~git20230612.46fb57d/hwy/contrib/algo/find_test.cc:96:3: internal compiler error: Segmentation fault 96 | } | ^ 0x85d651 crash_signal ../../src/gcc/toplev.cc:314 0xb4c608 riscv_vector::vector_insn_info::get_avl_reg_rtx() const ../../src/gcc/config/riscv/riscv-vsetvl.h:393 0xb4c608 insert_vsetvl ../../src/gcc/config/riscv/riscv-vsetvl.cc:735 0xb4f93f pass_vsetvl::commit_vsetvls() ../../src/gcc/config/riscv/riscv-vsetvl.cc:3816 0xb4feed pass_vsetvl::pre_vsetvl() ../../src/gcc/config/riscv/riscv-vsetvl.cc:3915 0xb5ae83 pass_vsetvl::lazy_vsetvl() ../../src/gcc/config/riscv/riscv-vsetvl.cc:4218 0xb5b091 pass_vsetvl::execute(function*) ../../src/gcc/config/riscv/riscv-vsetvl.cc:4253 0xb5b091 pass_vsetvl::execute(function*) ../../src/gcc/config/riscv/riscv-vsetvl.cc:4234 Please submit a full bug report, with preprocessed source. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-13/README.Bugs> for instructions. Preprocessed source stored into /tmp/ccBEZCN1.out file, please attach this to your bugreport.