https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110831
Bug ID: 110831 Summary: [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:499b8079a6419bb8082de062ec30772296c6700c, r14-2822-g499b8079a6419b make -k check-gcc RUNTESTFLAGS="dg.exp=gcc.dg/stack-check-3.c" FAIL: gcc.dg/stack-check-3.c (internal compiler error: in to_gcov_type, at profile-count.h:831) FAIL: gcc.dg/stack-check-3.c (test for excess errors) FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "allocation and probing residuals" 7 FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "allocation and probing in loop" 4 FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "allocation and probing in rotated loop" 1 FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "allocation and probing inline" 1 FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "skipped dynamic allocation and probing loop" 1 # of unexpected failures 7 spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ exceptions_enabled3672263.cc -fdiagnostics-plain-output -Wno-complain-wrong-lang -S -o exceptions_enabled3672263.s FAIL: gcc.dg/stack-check-3.c (test for excess errors) Excess errors: during RTL pass: expand dump file: stack-check-3.c.258r.expand /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/stack-check-3.c:25:1: internal compiler error: in to_gcov_type, at profile-count.h:831 0x10b3e7b7 profile_count::to_gcov_type() const /home/seurer/gcc/git/gcc-test/gcc/profile-count.h:831 0x10b3e7b7 dump_prediction /home/seurer/gcc/git/gcc-test/gcc/predict.cc:797 0x10b495bf combine_predictions_for_insn /home/seurer/gcc/git/gcc-test/gcc/predict.cc:1039 0x10b495bf guess_outgoing_edge_probabilities(basic_block_def*) /home/seurer/gcc/git/gcc-test/gcc/predict.cc:2356 0x11a4bec7 compute_outgoing_frequencies /home/seurer/gcc/git/gcc-test/gcc/cfgbuild.cc:692 0x11a4bec7 find_many_sub_basic_blocks(simple_bitmap_def*) /home/seurer/gcc/git/gcc-test/gcc/cfgbuild.cc:792 0x10520083 execute /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.cc:6933 commit 499b8079a6419bb8082de062ec30772296c6700c (HEAD) Author: Jan Hubicka <j...@suse.cz> Date: Thu Jul 27 15:57:54 2023 +0200 Fix profile_count::apply_probability