https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108679
Bug ID: 108679 Summary: ice in modify_call, at ipa-param-manipulation.cc:656 Product: gcc Version: 13.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 code: struct S1 { signed f0; }; struct S2 { struct S1 f2; short f8; } g_18; g_732, func_6_l_17; static *func_12(); static func_6(struct S2 p_7) { func_12(func_6_l_17, p_7.f2, g_18, 0); } *func_12(int, struct S1 p_14) { safe_lshift_func_int16_t_s_u(); safe_unary_minus_func_uint64_t_u(); g_732 = safe_mul_func_uint8_t_u_u(0, p_14); } main() { struct S2 l_10 = {3}; func_6(l_10); } compiled by recent gcc, does this: $ /home/dcb36/gcc/results/bin/gcc -w -O2 -ftrivial-auto-var-init=zero bug881.c during IPA pass: inline bug881.c: In function ‘main’: bug881.c:18:3: internal compiler error: in modify_call, at ipa-param-manipulation.cc:656 18 | func_6(l_10); | ^~~~~~~~~~~~ 0xb64d40 ipa_param_adjustments::modify_call(cgraph_edge*, bool) ../../trunk.d1/gcc/ipa-param-manipulation.cc:656 The bug first seems to occur sometime between g:d0a3d55ae4a2656f and g:1530a9b1f45a7ceb