https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318
--- Comment #4 from Sam James <sjames at gcc dot gnu.org> --- Created attachment 60057 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60057&action=edit tx.gcda $ gcc -std=gnu99 -O1 -o tx.o -c -fprofile-use -fprofile-correction -Wno-coverage-mismatch tx.i -O1 /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c: In function ‘cmp_matches’: /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:670:12: warning: profile for function ‘cmp_matches’ not found in profile data [-Wmissing-profile] /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c: In function ‘cmp_decomp’: /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:407:12: warning: profile for function ‘cmp_decomp’ not found in profile data [-Wmissing-profile] /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c: In function ‘split_radix_permutation’: /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:125:19: warning: profile for function ‘split_radix_permutation’ not found in profile data [-Wmissing-profile] during IPA pass: cp /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c: At top level: /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:939:1: internal compiler error: in operator+=, at profile-count.h:932 0x55e50e3d63de internal_error(char const*, ...) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-context.cc:517 0x55e50c22e04c fancy_abort(char const*, int, char const*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic.cc:1722 0x55e50c1fa090 profile_count::operator+=(profile_count const&) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/profile-count.h:932 0x55e50c1fa6ac profile_count::operator+=(profile_count const&) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree.h:3665 0x55e50e1fcbc0 adjust_clone_incoming_counts /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:4595 0x55e50e207ead update_counts_for_self_gen_clones /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:4711 0x55e50e207ead decide_whether_version_node /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:6073 0x55e50e20b4d7 ipcp_decision_stage /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:6238 0x55e50e20b4d7 ipcp_driver /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:6413 0x55e50e20b4d7 execute /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:6486 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.gentoo.org/> for instructions.