> > gcc/ChangeLog: > > > > 2025-01-20 Martin Jambor <mjam...@suse.cz> > > > > PR ipa/118097 > > * ipa-cp.cc (ipa_get_jf_arith_result): Adjust comment. > > (ipa_get_jf_pass_through_result): Removed. > > (ipa_value_from_jfunc): Use directly ipa_get_jf_arith_result, do > > not specify operation type but make sure we check and possibly > > convert the result. > > (get_val_across_arith_op): Remove the last parameter, always pass > > NULL_TREE to ipa_get_jf_arith_result in its last argument. > > (propagate_vals_across_arith_jfunc): Do not pass res_type to > > get_val_across_arith_op. > > (propagate_vals_across_pass_through): Add checking assert that > > parm_type is not NULL. > > > > gcc/testsuite/ChangeLog: > > > > 2025-01-24 Martin Jambor <mjam...@suse.cz> > > > > PR ipa/118097 > > * gcc.dg/ipa/pr118097.c: New test. > > * gcc.dg/ipa/pr118535.c: Likewise. > > * gcc.dg/ipa/ipa-notypes-1.c: Likewise.
OK, thanks! Honza