> Thanks, I missed that. It is the same fix and was posted first, so > please ignore mine in favour of Adam's. The one point to carry over: > the same applies to the new caller in "Extend ipa-prop/ipa-cp to handle > constants with uknown offsets": > https://gcc.gnu.org/pipermail/gcc-patches/2026-November/739221.html
Thanks, Dominic and Sam. Since the check is in ipa_get_callee_param_type itself, that new caller should be covered as it stands: the IPA_JF_CONST_UNKNOWN_OFFSET case in update_jump_functions_after_inlining calls ipa_get_callee_param_type (e, i) and only checks the constant against the type when one is returned, so for an edge without a call statement the constant is kept unchecked, as for a callee without a prototype. Adam
