https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98338
Bug ID: 98338 Summary: [11 Regression] profiledbootstrap failure on x86_64-linux Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- r11-6148 fails profiledbootstrap on x86_64-linux, the error is: during IPA pass: icf ../../gcc/range-op.cc:3444:1: internal compiler error: in compute_fn_summary, at ipa-fnsummary.c:3138 0x1385f82 compute_fn_summary(cgraph_node*, bool) ../../gcc/ipa-fnsummary.c:3138 0x14092d3 ipa_merge_profiles(cgraph_node*, cgraph_node*, bool) ../../gcc/ipa-utils.c:750 0x28af067 ipa_icf::sem_function::merge(ipa_icf::sem_item*) ../../gcc/ipa-icf.c:1272 0x28b7290 ipa_icf::sem_item_optimizer::merge_classes(unsigned int, unsigned int) ../../gcc/ipa-icf.c:3420 0x28b3b85 ipa_icf::sem_item_optimizer::execute() ../../gcc/ipa-icf.c:2460 0x28b7ab4 ipa_icf_driver ../../gcc/ipa-icf.c:3584 0x28ba37e ipa_icf::pass_ipa_icf::execute(function*) ../../gcc/ipa-icf.c:3631 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. Reduced testcase: .../cc1plus -fpreprocessed range-op.ii -quiet -dumpbase range-op.cc -dumpbase-ext .cc -mtune=generic -march=x86-64 -g -grecord-gcc-switches -O2 -Wformat-security -Wextra -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wsuggest-attribute=format -Woverloaded-virtual -Wpedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -version -fno-PIE -fstack-clash-protection -fcf-protection=full -fprofile-use -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -o range-op.s I'll attach range-op.ii and range-op.gcda