https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105943
Bug ID: 105943 Summary: [12/13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2640 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Started between 20211003 and 20211010, with following test case (pr98177 and roughly 500 more from gcc/testsuite), at -O2+ : $ cat z1.c int a, b, c; void foo(long e) { for (int f = 0; f < b; f ++) for (int g = 0; g < c; g ++) a = (short)e; } $ gcc-13-20220612 -c z1.c -O2 -fdisable-tree-vect cc1: note: disable pass tree-vect for functions in the range of [0, 4294967295] during RTL pass: expand z1.c: In function 'foo': z1.c:3:6: internal compiler error: in expand_LOOP_VECTORIZED, at internal-fn.cc:2640 3 | void foo(long e) { | ^~~ 0x9b73a7 expand_LOOP_VECTORIZED ../../gcc/internal-fn.cc:2640 0x7d0557 expand_call_stmt ../../gcc/cfgexpand.cc:2737 0x7d0557 expand_gimple_stmt_1 ../../gcc/cfgexpand.cc:3869 0x7d0557 expand_gimple_stmt ../../gcc/cfgexpand.cc:4033 0x7d5707 expand_gimple_basic_block ../../gcc/cfgexpand.cc:6085 0x7d81ce execute ../../gcc/cfgexpand.cc:6811