https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124048
Bug ID: 124048
Summary: [16 Regression] riscv64: genmatch: Internal error:
abort in _cpp_process_line_notes, at
libcpp/lex.cc:1182
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
seen with trunk 20260208 on riscv64-linux-gnu
build/genmatch --gimple \
--header=tmp-gimple-match-auto.h --include=gimple-match-auto.h \
../../src/gcc/match.pd tmp-gimple-match-1.cc tmp-gimple-match-2.cc
tmp-gimple-match-3.cc tmp-gimple-match-4.cc tmp-gimple-matc
h-5.cc tmp-gimple-match-6.cc tmp-gimple-match-7.cc tmp-gimple-match-8.cc
tmp-gimple-match-9.cc tmp-gimple-match-10.cc
build/genmatch --generic \
--header=tmp-generic-match-auto.h --include=generic-match-auto.h \
../../src/gcc/match.pd tmp-generic-match-1.cc tmp-generic-match-2.cc
tmp-generic-match-3.cc tmp-generic-match-4.cc tmp-generic
-match-5.cc tmp-generic-match-6.cc tmp-generic-match-7.cc
tmp-generic-match-8.cc tmp-generic-match-9.cc tmp-generic-match-10.cc
genmatch: Internal error: abort in _cpp_process_line_notes, at
libcpp/lex.cc:1182
genmatch: Internal error: abort in _cpp_process_line_notes, at
libcpp/lex.cc:1182
make[5]: *** [Makefile:3114: s-gimple-match] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [Makefile:3126: s-generic-match] Error 1
configured with
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust,cobol,algol68
--prefix=/usr
--with-gcc-major-version-only
--program-suffix=-16
--program-prefix=riscv64-linux-gnu-
--enable-shared
--enable-linker-build-id
--libexecdir=/usr/libexec
--without-included-gettext
--enable-threads=posix
--libdir=/usr/lib
--enable-nls
--enable-clocale=gnu
--enable-libstdcxx-debug
--enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new
--enable-libstdcxx-backtrace
--enable-gnu-unique-object
--disable-libquadmath
--disable-libquadmath-support
--enable-plugin
--enable-default-pie
--with-system-zlib
--enable-libphobos-checking=release
--with-target-system-zlib=auto
--enable-objc-gc=auto
--enable-multiarch
--disable-werror
--disable-multilib
--with-abi=lp64d
--with-arch=rv64i_m_a_f_d_c_b_v_zic64b_zicbom_zicbop_zicboz_ziccamoa_ziccif_zicclsm_ziccrse_zicntr_zicond_zicsr_zifencei_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
--enable-checking=yes
--build=riscv64-linux-gnu
--host=riscv64-linux-gnu
--target=riscv64-linux-gnu