https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91379
Bug ID: 91379
Summary: internal compiler error __gcov_fork
Product: gcc
Version: 9.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: cbunch at cfhp dot com
Target Milestone: ---
Created attachment 46678
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46678=edit
The pre-processed source for libgcov-interface.c -DL_gcov_fork
Unable to build gcc-9.1.0 (or 5.3.0, 5.5.0, 6.3.0, 6.5.0, 8.1.0)
../../../gcc-9.1.0/libgcc/libgcov-interface.c: In function '__gcov_fork':
../../../gcc-9.1.0/libgcc/libgcov-interface.c:184:1: internal compiler error:
in simplify_subreg, at simplify-rtx.c:6446
184 | }
| ^
ia64-hp-hpux11.31
'../gcc-9.1.0/configure'
'--prefix=/opt/gcc-9.1' '--with-gmp-include=/usr/local/include'
'--with-gmp-lib=
/usr/local/lib/hpux64' '--with-mpfr-include=/usr/local/include'
'--with-mpfr-lib
=/usr/local/lib/hpux64' '--with-mpc-include=/usr/local/include'
'--with-mpc-lib=
/usr/local/lib/hpux64' '--with-gnu-as' '--without-gnu-ld' '--disable-libgcj'
'--
disable-libgomp' --enable-languages=c,c++
--with-build-time-tools=/opt/binutils/
bin CC='gcc -mlp64' CXX='g++ -mlp64'
compiling with gcc-4.9.2
two code change made to get this far:
#undef MAKE_DECL_ONE_ONLY added to gcc/config/ia64/hpux.h
change FTW *ftwbuf to FTW ftwbuf in gcov-tool.c:unlink_gcda_file to match
default prototype for HP-UX (parameter is not used in function.)