https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107300
Bug ID: 107300 Summary: ICE: verify_ssa failed (error: virtual definition of statement not up to date) Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc 13.0.0 20221016 snapshot (g:6366e3e8847af98d4728d55951534769d034d02a) ICEs when compiling the following testcase, reduced from gcc/testsuite/gcc.c-torture/execute/pr81281.c, w/ -O2 -fipa-cp-clone -funreachable-traps -fno-inline: void bar (int x, int y) { if (x) __builtin_unreachable (); if (y) __builtin_abort (); } void foo (void) { bar (0, 0); } % gcc-13 -O2 -fipa-cp-clone -funreachable-traps -fno-inline -c bppprfmm.c bppprfmm.c: In function 'bar.constprop': bppprfmm.c:2:1: error: virtual definition of statement not up to date 2 | bar (int x, int y) | ^~~ __builtin_trap (); during GIMPLE pass: fixup_cfg bppprfmm.c:2:1: internal compiler error: verify_ssa failed 0x1155fd5 verify_ssa(bool, bool) /var/tmp/portage/sys-devel/gcc-13.0.0_p20221016/work/gcc-13-20221016/gcc/tree-ssa.cc:1211 0xe0737d execute_function_todo /var/tmp/portage/sys-devel/gcc-13.0.0_p20221016/work/gcc-13-20221016/gcc/passes.cc:2098 0xe077ae execute_todo /var/tmp/portage/sys-devel/gcc-13.0.0_p20221016/work/gcc-13-20221016/gcc/passes.cc:2145