https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113902
Bug ID: 113902 Summary: ice in find_uses_to_rename_use Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C source code: int g_66, g_80_2; void func_1func_41(int p_43) { lbl_1434: g_80_2 = 0; for (; g_80_2 <= 7; g_80_2 += 1) { g_66 = 0; for (; g_66 <= 7; g_66 += 1) if (p_43) goto lbl_1434; } } compiled by recent gcc trunk, does this: cvise $ ~/gcc/results/bin/gcc -c -O2 -march=znver3 bug1012.c during GIMPLE pass: vect bug1012.c: In function ‘func_1func_41’: bug1012.c:2:6: internal compiler error: Segmentation fault 2 | void func_1func_41(int p_43) { | ^~~~~~~~~~~~~ 0xed49f9 crash_signal(int) /home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/toplev.cc:317 0x106b7e8 find_uses_to_rename_use(basic_block_def*, tree_node*, bitmap_head**, b itmap_head*) /home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/tree-ssa-loop-manip .cc:414 The bug first seems to occur sometime between g:48207a5f00d6ae7c and g:39d989022dd0eacf.