https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106432
Bug ID: 106432 Summary: ice in range_on_edge, at gimple-range.cc:204 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 53344 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53344&action=edit C source code The attached partially reduced C code does this with compiler flag -O3: $ ../results.20220724.asan.ubsan/bin/gcc -c -O3 bug831.c 2>&1 | more during GIMPLE pass: dom /home/dcb36/rpmbuild/BUILD/petsc-3.16.3/petsc-3.16.3/src/ts/utils/dmplexlandau/p lexland.c: In function ‘ProcessOptions’: /home/dcb36/rpmbuild/BUILD/petsc-3.16.3/petsc-3.16.3/src/ts/utils/dmplexlandau/p lexland.c:1418:23: internal compiler error: in range_on_edge, at gimple-range.cc :204 1418 | static PetscErrorCode ProcessOptions(LandauCtx *ctx, const char prefix[] ) | ^~~~~~~~~~~~~~ 0x1bec52d gimple_ranger::range_on_edge(vrange&, edge_def*, tree_node*) ../../trunk.git/gcc/gimple-range.cc:204 The problem first seems to occur sometime in the git hash range 1cc0e9a46e79e7cc..8b8103dcd2624936, a distance of 24 commits. I will finish the reduce and post it.