https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121510
Bug ID: 121510 Summary: internal compiler error: in emit_vec_extract, at config/riscv/riscv-v.cc:5651 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: xypron.glpk at gmx dot de Target Milestone: --- I have built gcc 15.1 with --with-arch=rv64i_m_a_f_d_c_b_v_zic64b_zicbom_zicbop_zicboz_ziccamoa_ziccif_zicclsm_ziccrse_zicntr_zicond_zicsr_zihintntl_zihintpause_zihpm_zimop_zmmul_za64rs_zaamo_zalrsc_zawrs_zfa_zfhmin_zca_zcb_zcd_zcmop_zba_zbb_zbs_zkt_zvbb_zve32f_zve32x_zve64d_zve64f_zve64x_zvfhmin_zvkb_zvkt_zvl128b_zvl32b_zvl64b_supm When using the gcc to build coreutils I received an error during RTL pass: expand src/od.c: In function 'print_halffloat': src/od.c:511:18: internal compiler error: in emit_vec_extract, at config/riscv/riscv-v.cc:5651 511 | PRINT_FLOATTYPE (print_halffloat, float16, ftoastr, FLT_BUFSIZE_BOUND) | ^~~~~~~~~~~~~~~ src/od.c:462:1: note: in definition of macro 'PRINT_FIELDS' 462 | N (size_t fields, size_t blank, void const *block, \ | ^ src/od.c:511:1: note: in expansion of macro 'PRINT_FLOATTYPE' 511 | PRINT_FLOATTYPE (print_halffloat, float16, ftoastr, FLT_BUFSIZE_BOUND) | ^~~~~~~~~~~~~~~ This relates to an assert in emit_vec_extract().