https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108655
Bug ID: 108655 Summary: ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jason at redhat dot com Target Milestone: --- The following ICEs: $ int test_collapse() { int i; for (; i;) ; for (; i < 6;) for (int j = 0; j < 6; ++j) i += j; } $ gcc simd.c -c -O1 -funreachable-traps during GIMPLE pass: ivcanon simd.c: In function ‘test_collapse’: simd.c:2:1: internal compiler error: in execute_todo, at passes.cc:2140 2 | test_collapse() { | ^~~~~~~~~~~~~ 0x721e5f execute_todo /home/marxin/Programming/gcc/gcc/passes.cc:2140 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.